文件名称:antlr
- 所属分类:
- JSP源码/Java
- 资源属性:
- [C/C++]
- 上传时间:
- 2012-11-26
- 文件大小:
- 411kb
- 下载次数:
- 0次
- 提 供 者:
- iss***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
ANTLR—Another Tool for Language Recognition,其前身是PCCTS,它为包括Java,C++,C#在内的语言提供了一个通过语法描述来自动构造自定义语言的识别器(recognizer),编译器(parser)和解释器(translator)的框架。ANTLR可以通过断言(Predicate)解决识别冲突;支持动作(Action)和返回值(Return Value)来;更棒的是,它可以根据输入自动生成语法树并可视化的显示出来(这一点我将在下面的例子中演示)。由此,计算机语言的翻译变成了一项普通的任务—在这之前YACC/LEX显得过于学院派,而以LL(k)为基础的ANTLR虽然在效率上还略有不足,但是经过近些年来的升级修改,使得ANTLR足以应付现存的绝大多数应用。感谢Terence Parr博士和他的同事们十几年来的出色工作,他们为编译理论的基础和语言工具的构造做了大量基础性工作,也直接导致了ANTLR的产生。-ANTLR-Another Tool for Language Recognition. Its predecessor, PCCTS, including Java, C++, C#, including the language provides a syntax descr iption to automatically construct self-definition language identification (recognizer), the compiler (parser) and explain the fr a mework of the (translator on). ANTLR by the assertion (the Predicate) to address the problems identified conflicts support action (Action) and the return value (Return Value) Even better, it can be automatically generated based on the input syntax tree and visualization is displayed (which I will The following example demonstrates). As a result, the computer language translation has become a common task- in this YACC to/LEX seem the too academic, ANTLR-based LL (k), although the efficiency is slightly less, but after a recent years of upgrade modifications, making the ANTLR enough to cope with the vast majority of the existing application. Thank the excellent work, Terence Parr, Ph.D., and his colleagues more than a dec
(系统自动生成,下载前可以参看下载内容)
下载文件列表
antlr
.....\antlr.jar
.....\antlr.jar