摘要
LAS是在VAX/VMS操作系统上用Ada语言开发的词法分析器和语法分析器的自动生成工具。词法分析器由词法执行程序和LAS根据词法规则说明文件生成的词法树组成,语法分析器由语法执行程序和LAS根据语法规则说明BNF范式生成的状态序列集组成,在BNF范式中插入语义标志,就可以在语法分析器分析到该语义标志时,使控制转入用户提供的语义处理程序。
LVS Is an automatic generation tool of lexicon and syntax analyzer developed in Ada language on the VAX/VMS operation system.Lexicon analyzer consists of lexicon executive program and lexicon tree generated by LAS according to lexicon rule specification file.Syntax analyzer consists of syntax executive program and state sequence set generated by LAS according to syntax rule specification,i.e.Backus Normal Form.When reaching semantic mark inserted in the BNF,control can be transfered into semantic processing program provided by the user.
出处
《北京航空航天大学学报》
EI
CAS
CSCD
北大核心
1989年第1期71-78,共8页
Journal of Beijing University of Aeronautics and Astronautics
关键词
语法
分析器
状态序列集
LAS
lexical analyzer,syntax analyzer,lexical tree,set of state sequence,semantic mark,semantic routine,Backus Normal Form.