avsm Anil Madhavapeddy
Alain Frisch and Leo White: a public working group on the future of camlp4 and metaprogramming in OCaml: groups.google.com/group/fa.caml/…

January 24, 2013     8 retweets #

jakedonham Jake Donham
@avsm sad that chucking it seems a foregone conclusion. amazing tool, marred by INRIA neglect, lack of docs, p4/5 schism, fixable impl warts

January 24, 2013 #

avsm Anil Madhavapeddy
@jakedonham my hope is this will energise fixing it in parallel (/cc @bobzhang1988). It'll take *years* to fully decouple camlp4, if ever

January 24, 2013 #

bobzhang1988 bob zhang
@avsm @jakedonham Have you take a look at Fan? it already fixes most problem Alain proposed without loosing any expressivity ;-)

January 24, 2013 #

jakedonham Jake Donham
@bobzhang1988 I have not, thanks for the pointer /cc @avsm

January 24, 2013 #

avsm Anil Madhavapeddy
@jakedonham it was your blog post series that led me and @samoht to do so much syntax extension hacking! not sure whether to hate you or not

January 24, 2013     1 retweets #

jakedonham Jake Donham
@avsm well hate is not really what I was aiming for :)

January 24, 2013 #

avsm Anil Madhavapeddy
@jakedonham I wonder if the revised/original quotation choice is the tipping point to camlp4 becoming too complex

January 24, 2013 #

jakedonham Jake Donham
@avsm oh yeah forgot that one :). I see the motivation—orig syntax lacks context for antiquotations—but there are better alternatives

January 24, 2013 #

yminsky Yaron Minsky
@avsm @jakedonham I think the concept is wrong at the core. Too much power, too little structure. Quotations+annotations+ppx FTW!

January 25, 2013     1 retweets #

jakedonham Jake Donham
@yminsky compared to codegen with interpolated strings it is highly structured :)

January 25, 2013 #

jakedonham Jake Donham
@yminsky less flippant reply: why not provide a simplified API (just quot/annot/ppx) and a full one? why prevent advanced use cases?

January 25, 2013 #

bobzhang1988 bob zhang
@jakedonham I agree with you on this point. It's not too hard to provide (quot/annot/ppx) on top of Camlp4 or Fan

January 25, 2013 #

jakedonham Jake Donham
@yminsky lpw25.net/2013/01/23/cam… misses important camlp4 use cases. e.g. nested quot/antiquot, exts to pattern matching

January 25, 2013 #

jakedonham Jake Donham
@yminsky and surveying what exists then supporting only common cases is philosophically backward for an extension mechanism

January 25, 2013 #

yminsky Yaron Minsky
@jakedonham If a fully programmable syntax is too much power, an alternative will give up on some things. A survey can inform those choices.

January 25, 2013 #

yminsky Yaron Minsky
@jakedonham have you joined the WG yet? You clearly should...

January 25, 2013 #