欢迎来到天天文库
浏览记录
ID:32281930
大小:1.46 MB
页数:131页
时间:2019-02-02
《ANTLR 参考手册 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、-ANTLR参考手册献给项目领导和最高导师TerenceParr旧金山大学支持站点jGuru.comYourViewoftheJavaUniverse初期代码获益于JohnLilly,EmpathySoftwareC++代码生成器PeterWells和RicKlarenC#代码生成MichealJordan,KunleOdutola和AnthonyOguntimehin。Python's方面的扩展来自于WolfgangHäfelingerandMarqKole基础软件支撑来自Perforce:世
2、界上最好的源码控制系统之一感谢以下朋友贡献了他们的聪明才智LoringCraymerMontyZukowskiJimCokerScottStanchfieldJohnMitchellChapmanFlack(UNICODE,流部分)关于Eclipse和NetBeans方面的源码改进来自于MarcovanMeegenandBrianSmithANTLR2.7.5版2004年12月22日目录前言ANTLR是什么.............................................
3、............................................................................5第1章ANTLR规范:元语言(Meta-Language).........................................................................61.1元语言词汇表(Meta-LanguageVocabulary)....................................
4、.............................61.2Header段(HeaderSection).........................................................................................121.3语法分析类的定义(PaserClassDefinitions)............................................................121.4词法分析类
5、定义(LexcalAnalyzerClassDefinitions)...................................................131.5树分析类定义(Tree-parserClassDefinitions).............................................................141.6选项段(OptionSection).........................................
6、..............................................141.7记号段(TokensSection).......................................................................................141.8语法继承(GrammarInheritance).................................................................
7、...........161.9规则定义(RuleDefinitions).......................................................................................161.10原子的产生式元素(AtomicProductionElements)................................................191.11简单的产生式元素(SimpleProductionElement
8、s)................................................211.12产生式元素操作符(ProductionElementOperators)................................................221.13记号类.....................................................................................................
此文档下载收益归作者所有