[wg-camlp4] Structured comments, shallow embeddings and deep quasiquotations

Hongbo Zhang hongboz at seas.upenn.edu
Tue Feb 5 14:19:28 GMT 2013


We have the same ideas. ;-)
proposals 1, 2, 3, 4 are implemented in Fan as well.

For Proposal 4, we introduced overloaded quotations,
{:Ast.expr| 1 + $x |} can expand to ast with or without locations. Ast with
locations introduce a lot of unnecessary complexity when people are just
doing code generation

Proposal 3 is applied in camlp4 itself(see the quotation module)
On Tue, Feb 5, 2013 at 8:50 AM, Leo White <lpw25 at cam.ac.uk> wrote:

> I will try to put my own proposals in that blog post early next week.
>>
>
> That blog post is now up:
>
> http://www.lpw25.net/2013/02/**05/camlp4-alternative-part-2.**html<http://www.lpw25.net/2013/02/05/camlp4-alternative-part-2.html>
>
> Please respond to it on this list rather than in its comment box.
>
> ______________________________**_________________
> wg-camlp4 mailing list
> wg-camlp4 at lists.ocaml.org
> http://lists.ocaml.org/**listinfo/wg-camlp4<http://lists.ocaml.org/listinfo/wg-camlp4>
>



-- 
-- Regards, Hongbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/wg-camlp4/attachments/20130205/2a4562c7/attachment-0001.html>


More information about the wg-camlp4 mailing list