On Tue, 2006-07-11 at 14:32 -0400, Stephane Le Dorze wrote: > Hum... > Do not know if this could help but there a C99/C++ conformant parser > written in C++ using spirit library. > The implementation is quite clean and inspired from FP programming. > http://www.boost-consulting.com/boost/libs/wave/index.html > Don't know if it could easily be translated in OCaml...
Err .. it's a preprocessor .. not a parser. The latest Elsa, the Elkhound grammar, can parse most C++, except template templates. [Not sure about handling MS and GNU extensions though, which is a requirement to make it fully useful] In fact, Elkhound can generate both Ocaml and C++ parsers, but I'm not sure this extends to Elsa. However it is a LOT of work to try to use it .. just to support C++ compatible syntax. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Felix-language mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/felix-language
