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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
-
This project has moved to http://code.google.com/p/jsonexpr