[cppncss-user] generation of the java c++ parser
Status: Beta
Brought to you by:
mat007
From: Victor C. <vic...@ya...> - 2014-09-23 09:49:00
|
Dear Team / Members, Since I would like to generate an c++ parser, I was searching in internet about tools and corresponding grammar files. So I have found the CppNcss project , which uses the JJTree and JavaCC to generate a java parser for c++ files. After trying to obtain the parser based on the jjt file, I got some problems: a) the generated files are a little bit different, and the parsing seems to not fetch all information ( tokes ) for larger file. However this problem seems to not be present within the CppNcss tool. Therefore I would like to ask You, which JavaCC and JJTree (version) you have used, and which option you gave. Also I have observed that there ar more versions of the c++ grammar file. con some one support me in solving this issue ? Thank You Very Much Best Regards Victor Cuteanu |