摘要
一般地,语法分析技术中的算符优先分析方法适用于对算术表达式的翻译,但在某些文法中产生式的外部形态却往往会影响到这种翻译结果的正确性.对这种情况进行了具体的分析,并提出了解决方法.根据问题产生的原因。
Abstract Generally ,the operator precedence parsing is suitable for the translation of arithmetic expressions in syntactic analysis technology ,but the production's external form may influence on the translation result correctness in some grammar .This paper discusses the above mentioned problems and gives a solution.According to the reasons causing the above-said problems,one of main method used is that we have to change the external form for some productions in the grammar.
出处
《郑州工业大学学报》
1999年第1期72-74,共3页
Journal of Zhengzhou University of Technology