knowsys / nemo

A fast in-memory rule engine.
https://knowsys.github.io/nemo-doc/
Apache License 2.0
61 stars 6 forks source link

Redesign parser and rule model #510

Open aannleax opened 2 weeks ago

aannleax commented 2 weeks ago

The current parser should be reworked to parse into a dedicated AST representation of the program, which then gets translated into a logical model. The latter should keep track of the origin nodes in the AST to be able to generate nice error message that reference the specific line in the source code.