Design and implementation of expandable logical expression evaluation

Han Yan · Jisuanji gongcheng yu sheji · 2012

Aiming at the problem that operator's name,priority,and operation rule are hard-coded in the expression evaluation algorithm,which causes the algorithm can't be expanded,a novel method is proposed,which makes operator's name,priority and operation rule as a interface,and a novel expression evaluation is designed and implemented,which the independence of expression evaluation algorithm is supported,and user can customize operator and update the operation rule of the original operator,and thus the expansibility of logical expression evaluation is achieved.

Read the paper · More papers on PaperTik