Next: , Previous: Java Push Parser Interface, Up: Java Parsers


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.


Notes de bas de page

[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.