Use a parser generator framework (for example, ANTLR).
使用解析器生成器框架(比如ANTLR)。
When working with a parser generator like Coco, it's important to understand the basic concepts.
当与像是可可解析器生成的工作,重要的是要理解基本概念。
You don't need anything as complicated as an automated parser generator to do most simple, everyday parsing tasks.
要完成最简单的日常解析任务,您不需要使用象自动化解析器生成器那样复杂的任何东西。
Ruby already ships with a parser generator called RACC, a version of YACC (which is used to build ruby_parser, the first ruby parser written in ruby).
ruby已经有了一个叫做RACC的解析器生成器,是一个YACC的移植版本(被用来编写ruby _ parser,第一个用ruby写成的ruby解析器)。
A compiler, of course, needs a way to parse the input language, and so the XRuby team created their own Ruby parser using the popular ANTLR parser generator.
当然,编译器需要一种分析输入语言的方法,XRuby团队用流行的ANTLR分析器产生器创建了他们自己的Ruby分析器。
Or you could implement this in your basic parser and generator, making the whole thing only work in MVC projects.
你还可以在基本的解析器和生成器中实现它,这样所有一切都只能用在MVC项目中了。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
应用推荐