Hello
I presume you know JavaCC which is the pending
lexer/parser generator of CppCC in the Java world. I am
using JavaCC since a long time and it is quite a great
tool for developping parser that runs in the Java world.
But...I have a need to run the same application in the
traditionnal C++ world...I found CppCC grammar quite
close to the JavaCC grammar but enough in my opinion
to pass easily from the JavaCC grammar to the CppCC
grammar....
So my RFE could be summarize as:
Make the CppCC grammar as close as possible to the
JavaCC grammar for allowing recasting of the target
environement for the same grammar. It would help a lot
in providing the same application in both world.
Regards
FA
PS: Since there are certainly more parsers writen in
JavaCC than parsers written in CppCC, IMO, it would
have a less impact to move CppCC grammar to the
JavaCC one than the contrary.
Logged In: YES
user_id=60351
Hi,
I only used the JavaCC grammar as a general guideline, so i
don't expect the syntax to be completely identical. If you
could give me some examples of the most obvious/hard to
adapt to differences, i could work on that.
Thanks,
Alec.