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
Your top-rated shield against malware and online scams | Avast Free Antivirus
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Rate This Project
Login To Rate This Project
User Reviews
-
This project has moved to http://code.google.com/p/jsonexpr