摘要
主要讨论了(SLR1)词语法分析器的自动构造,自动生成的()语法分析器可从自动生成的()词法分析器中获得测试SLR1/SLR1SLR1数据进行语法分析,论文相关的软件除可用于编译原理课程教学演示外,还可用于实际编译程序的()词语分析器的自动构造。由于SLR1/具有()分析表自动构造功能,因此该软件还可作为软件工具用于程序设计语言本身的设计和构造。
An automatic generator of SLR(1) lexical & grammatical analyzer is proposed in this paper.SLR(1) grammatical analyzer can obtain the testing data to parse from the SLR(1) lexical analyzer.Both of them are generated automatically in the same way.The software which the paper based on can be used not only in demonstrating for teaching,but also in automatic constructing of SLR(1) lexical& grammatical analyzer which will be used in compiler.For SLR(1) analytical table can be produced automatically,the generator can alsobe used to design the programming language as a software tool.
出处
《计算机工程》
CAS
CSCD
北大核心
2002年第3期276-278,共3页
Computer Engineering