語法分析器生成工具 BYACC/J
BYACC/J 是擴展和兼容自 Berkeley v 1.8 YACC 的Java的語法分析器生 成工具。
-
BYACC/J can be executed from existing Makefiles and IDE's.
-
BYACC/J is coded in C, so the generation of Java code is extremely fast.
-
The resulting byte code is small -- starting at about 11 kbytes.
-
Only one or two classfiles are included. If you need only a single type or an Object class, then one class file is generated. If you need a simple generic type, a simple data class is generated for you, making another small file.
-
No additional runtime libraries are required. The generated source code is the entire parser.
-
It can parse existing YACC grammars, enabling the 'Javanizing' ;-) of a large installed base of YACC source code (of course, your 'actions' need to be in Java).
-
Many developers are already very familiar with the workings of YACC.