comp.lang.ada
 help / color / mirror / Atom feed
From: Chris M Moore <zmower@ntlworld.com>
Subject: Re: Why not Coq2Ada program extraction?
Date: Tue, 1 May 2018 07:59:41 +0100
Date: 2018-05-01T07:59:41+01:00	[thread overview]
Message-ID: <ufUFC.74642$eg.39849@fx43.am4> (raw)
In-Reply-To: <87efiwm3er.fsf@nightsong.com>

On 01/05/2018 04:59, Paul Rubin wrote:
> "Dan'l Miller" <optikos@verizon.net> writes:
>> Why hasn't anyone ever developed Ada extraction from Coq proofs?

I think we all have day jobs.

> That's interesting to hear about Rust.  Coq (like Ocaml, Scheme, and
> Haskell) is lambda calculus once you look past the types, so extracting
> to those languages is natural.  This gets back to our earlier
> discussion: lambda calculus is a computational model equivalent to a
> Turing machine, with unlimited memory.  You can translate the lambda
> calculus computational part to actual machine code, but you end up
> simulating the unlimited memory using garbage collection.  There's a
> book about it here:
> 
> https://www.microsoft.com/en-us/research/publication/the-implementation-of-functional-programming-languages/

You are not not necessarily forced to use garbage collection when 
implementing FP.  See section 19.3.2 Optimisation Using A Stack Model in 
the document you reference.

<snip>

Chris

-- 
sig pending (since 1995)

  reply	other threads:[~2018-05-01  6:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-01  3:38 Why not Coq2Ada program extraction? Dan'l Miller
2018-05-01  3:59 ` Paul Rubin
2018-05-01  6:59   ` Chris M Moore [this message]
2018-05-01  7:41     ` Paul Rubin
2018-05-01 11:44   ` Jere
2018-05-02 16:47   ` G.B.
2018-05-02 17:12     ` Paul Rubin
2018-05-01  8:21 ` Jeffrey R. Carter
2018-05-01 17:30   ` Dan'l Miller
2018-05-01  9:12 ` Paul Rubin
2018-05-07  2:30 ` Dan'l Miller
2018-05-07  2:37   ` Paul Rubin
2018-05-07  3:50     ` Dan'l Miller
2018-05-07  4:01     ` Dan'l Miller
2018-05-07  4:20       ` Paul Rubin
2018-05-07 16:33         ` Dan'l Miller
2018-05-07 13:27   ` Dan'l Miller
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox