* [Caml-list] some camlp4 documentations
@ 2012-05-12 16:21 Hongbo Zhang
2012-06-05 7:23 ` Hendrik Tews
0 siblings, 1 reply; 2+ messages in thread
From: Hongbo Zhang @ 2012-05-12 16:21 UTC (permalink / raw)
To: caml-list
Hi, List
I have read camlp4 source tree for quite a long time, and compiled
it here
http://www.seas.upenn.edu/~hongboz/hongbo_zhang_files/temp.pdf
It's still preliminary, and contains many errors.
my 2 cents:
1. don't use camlp4 for 3.12.0 (too many bugs there), it's fine in 3.12.1
2. spend some time in ocamlbuild (covered in chap2), it's very easy
to build any camlp4 extension, (not as hard as you thought)
3. write a quick hack extension is straight-foward. a robust
extesnsion is not easy. But, due to the fact that your camlp4Ast will be
dumped to ocamlast, and to typedtree, the bug will be found later in
most cases, so it's still a very powerful tool
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-05 7:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-12 16:21 [Caml-list] some camlp4 documentations Hongbo Zhang
2012-06-05 7:23 ` Hendrik Tews
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox