摘要
使用目前常用的算符优先法,对通用表达式计算过程进行了介绍,并对其中的关键问题——运算符优先矩阵的设计和实现进行了研究。该设计具有良好的可扩展性,能对任意自定义规则的表达式进行计算。
Using the current commonly used operator priority method, introduces a common expression of the calculation process, and one of the key issues, operator precedence matrix design and implementation. The design has a good sealability of the situation, be able to customize the rules of arbitrary expressions calculated.
出处
《现代计算机》
2009年第4期29-31,共3页
Modern Computer
关键词
表达式计算
通用
算符优先法
General Expressions Calculation
Operator Priority Method