Next: , Previous: , Up: Java Parsers   [Contents][Index]


10.2.8 Differences between C/C++ and Java Grammars

The different structure of the Java language forces several differences between C/C++ grammars, and grammars designed for Java parsers. This section summarizes these differences.


Footnotes

(1)

Java parsers include the actions in a separate method than yyparse in order to have an intuitive syntax that corresponds to these C macros.


Next: , Previous: , Up: Java Parsers   [Contents][Index]