biscuit-rust icon indicating copy to clipboard operation
biscuit-rust copied to clipboard

Detect free variables in expressions

Open divarvel opened this issue 2 years ago • 0 comments

Currently, free variables (ie variables that are not bound: not mentioned in any predicate of the body) are detected at parse time in the rules's head.

Free variables are not detected in expressions. Currently, all expressions are evaluated strictly, so a free variable in an expression always results in an error upon rule evaluation. Even with lazy evaluation for booleans, free variables don't make sense.

divarvel avatar Aug 03 '23 08:08 divarvel