Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Optimizing outputs of program extraction?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Optimizing outputs of program extraction?


chronological Thread 
  • From: Lionel Elie Mamane <lionel AT mamane.lu>
  • To: Adam Chlipala <adamc AT cs.berkeley.edu>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Optimizing outputs of program extraction?
  • Date: Fri, 16 Sep 2005 10:51:23 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Thu, Sep 15, 2005 at 04:22:33PM -0700, Adam Chlipala wrote:

> For example, I would like to replace all uses of Coq's nat with uses
> of OCaml's int, relying on dynamic checks to determine when the
> representation is not precise enough and abort the execution.  I can
> think of some simple type-directed syntactic rewrite rules that
> would accomplish this, and there are a number of other basic but
> very worthwhile optimizations of this kind.

> Can anyone point me to an existing tool that performs such
> optimizations?

I don't know of a pre-made tool that would make this, but I suppose
that CamlP4 could be used to express the "syntactic rewrite rules" you
have in mind.

-- 
Lionel




Archive powered by MhonArc 2.6.16.

Top of Page