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
Other Useful Business Software
FortiGate-VM delivers comprehensive security and scalable VPN connectivity for your AWS workloads, while native AWS integrations unlock broad coverage for your environment. Now with support for AWS Graviton2 instances, FortiGate lets you optimize price performance and reduce your Amazon EC2 costs by up to 20 percent. Deploy today in AWS Marketplace.
Rate This Project
Login To Rate This Project
User Reviews
-
This project has moved to http://code.google.com/p/jsonexpr