
7 Mar
2006
7 Mar
'06
8:50 a.m.
"Noel Yap"wrote
Has anyone created a c++ parser with boost::spirit?
I dont know if anyone has (though I believe Hartmut Kaiser created a C parser) but AFAIK the problem with C++ parsers in general is that they dont tell the whole story, because in C++ there is a huge amount of context specific information. e.g in a template non-template, function argument scope, class scope etc each of which has its own rules which are beyond a simple parsers grasp. Nevertheless It would be a very worthwile project ... ;-) Could also try asking on the Spirit developers list: https://lists.sourceforge.net/lists/listinfo/spirit-devel regards Andy Little