On Sat, Nov 27, 2010 at 8:46 AM, Julia Lawall <[email protected]> wrote: >> >> thanks for the prompt reply. >> Is the C++ parser code available along with some documentation on how it can >> be used with Coccinelle? > > There is no documentation. Furthermore, it is only a parser, it does not > construct an abstract syntax tree, so compatible with Coccinelle may not > mean much more than it is written in ocaml. I think it is available, but > I am not sure where. Perhaps Nicolas or Yoann can answer.
It lives in pfff now: https://github.com/facebook/pfff/wiki/Main in this directory: https://github.com/facebook/pfff/tree/master/lang_cpp/parsing/ It's even more hacky than the C parser ... > > Perhaps we could organize a project to connect the two. If anyone has > some good arguments as to why the kinds of transformations Coccinelle is > good at would be useful in C++ code, that could be helpful. Actually, I > have never written anything in C++ :) > > julia > > _______________________________________________ > Cocci mailing list > [email protected] > http://lists.diku.dk/mailman/listinfo/cocci > (Web access from inside DIKUs LAN only) > _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
