ANTLR 的全稱是 ANother Tool for Language Recognition,ANTLR 解析語法描述文件,將其編譯成能夠識別這些語法的源程序,可以這樣說它是一個能生成“編譯器”的“編譯器”:)
ANTLR 的作者在官方網(wǎng)站上說到:After 4 years of research and development, I'd like to introduce ANTLR v3!
ANTLR v3 的新特性有如下幾點:
http://www.aygfsteel.com/qujinlong123/
ANTLR 的作者在官方網(wǎng)站上說到:After 4 years of research and development, I'd like to introduce ANTLR v3!
ANTLR v3 的新特性有如下幾點:
- a brand-new very powerful extension to LL(k) called LL(*)
- an auto backtracking mode
- partial parsing result memoization to increase the speed of backtracking
- a really nice AST rewrite rule mechanism
- integration of the StringTemplate template engine for generating structured text
- improved error reporting and recovery
- a truly retargetable code generator that makes it easy to build backends ("targets"); currently we have the following Code Generation Targets: Java, C#, C, Objective-C, Python with others in development
- BSD license
http://www.aygfsteel.com/qujinlong123/