I Has such sentence like 'a > 1 && b < 2 || ln(x) == 1' .I want to parse it to a tree struct's class.
How can i write the .cg file.Where can i find the article about the grammar or the tool that can automatically generate the file.
best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Alec,
I Has such sentence like 'a > 1 && b < 2 || ln(x) == 1' .I want to parse it to a tree struct's class.
How can i write the .cg file.Where can i find the article about the grammar or the tool that can automatically generate the file.
best regards
http://cppcc.sourceforge.net/docs.php
should give you some answers
alec.
Hi alec,
Thank for your help.But the page i can't open it.it showed me : socket Error Connection to Remote host timed out.