語法分析器生成工具 BYACC/J

openkk 12年前發布 | 63K 次閱讀 語法/詞法分析器 Yacc

語法分析器生成工具 BYACC/J

BYACC/J 是擴展和兼容自 Berkeley v 1.8 YACCJava的語法分析器生 成工具。

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

項目主頁:http://www.baiduhome.net/lib/view/home/1325299399155

 本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!