An Expression Parser and Evaluator result in JSON object. Written in Pascal. 表达式的解析和求值是一个应用面非常广的功能。JSON格式因其简明、易于操作,使用面日渐广泛。本项目将表达式分析的结果存放在JS
Features
- Value collection operation. eg: X in ( Null, 1, 2+3, Y-6)
- Mutil sentence divided by ;
- Set value of variable with := eg: X := Y + 1; Y := X * Y
- IF statement. eg: IF(Name is null, 'No Name', 'Name is: '+Name)
- Boolean operators: AND OR XOR
- Math operators: + - * / \ %
- Bit operators: & | ^ ~
- Compare operators: = > < >= <= <>
- String Operators: + Len eg: Len('Hello'+#32+'World!')
- VarHelper can provide custom variable get/set.
- FuncHelper can provide custom function call.
- TraceOnLine will tirgger event at every sentence complete eval.
Categories
LibrariesFollow JSON Expression Parser & Evaluator
You Might Also Like
ConnectWise CPQ, formerly ConnectWise Sell, is a professional quote and proposal automation software for IT solution providers. ConnectWise CPQ offers a wide range of tools that enables IT solution providers to save time, quote more, and win big. Top features include professional quote or proposal templates, product catalog and sourcing, workflow automation, sales reporting, and integrations with best-in-breed solutions like Cisco, Dell, HP, and Salesforce.
Rate This Project
Login To Rate This Project
User Reviews
-
This project has moved to http://code.google.com/p/jsonexpr