Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] About camlp5 and coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] About camlp5 and coq


Chronological Thread 
  • From: Kakadu <Kakadu AT protonmail.ch>
  • To: e+coq-club AT x80.org
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] About camlp5 and coq
  • Date: Tue, 08 Nov 2016 04:59:29 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Kakadu AT protonmail.ch; spf=Pass smtp.mailfrom=Kakadu AT protonmail.ch; spf=Pass smtp.helo=postmaster AT mail5.protonmail.ch
  • Feedback-id: x4fwwyFgtRX3dSO51dMsbqWOEHlPiGfshOOS9J25YwI543bF7VeYg98tu93v-1yW4PsM4izyxQYM1xYUcvtBqg==:Ext:ProtonMail
  • Ironport-phdr: 9a23:1tlS/h8aVauI2f9uRHKM819IXTAuvvDOBiVQ1KB91e8cTK2v8tzYMVDF4r011RmSDN+duq8P0rCG+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwud76zS9OZ1p7nn8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT4r9Zf9HFd+Pkm7otLVbjwV7RoFfpfFjt1CW0t4NzXskzgRAiG6mZUBkYfkRNEHiDd9hbmWZH0uyr+8OF9jnq0J8rzGJM9Wj2u8u8/axbrgSsaHyYj933QjMl5jaYdqxL39E83+JLdfIzAbKk2RajaZ95PHWc=

Hey, E.

I actually thought about mixing PPX and camlp5 stuff. It seems to be unwise to rewrite everything from camlp5 to PPX in a single release (some unobvious bugs will appear only after release, some conservative guys will be angry; why I'm talking about it, you probably know it already). But explaining camlp5 how to deal with PPX will require some work. It's not obvious how difficult it will be.....

Happy hacking,
Kakadu


-------- Original Message --------
Subject: Re: [Coq-Club] About camlp5 and coq
Local Time: November 4, 2016 9:32 PM
UTC Time: November 4, 2016 6:32 PM
From: e+coq-club AT x80.org
To: Kakadu <Kakadu AT protonmail.ch>
coq-club AT inria.fr

Hi Kakadu,

others can talk more about camlp5, I'll comment on PPX and Coq.

Kakadu <Kakadu AT protonmail.ch> writes:

> AFAIU coq is the main user of camlp5 and there are rumors that lack of
> attributes in camlp5 forbids using PPX rewriters in Coq (but this
> feature is desired).

This is not true, as long as you don't mix camlp4 files and PPX in
dangerous ways. For more details see the thread in coq-dev "OCaml
version for 8.6", dated: 26 Feb 2016.

Pierre-Marie Pédrot has indeed a proof of concept porting the plugin
mechanism to PPX, see thread "PPX proof-of-concept" dated 8 Aug 2016 in
coq-dev, also both my projects (SerAPI and jsCoq) make extensive use of
ppx and Coq without any issue.

Best,
E.




Archive powered by MHonArc 2.6.18.

Top of Page