Closed mattbishop closed 2 years ago
I had a look at the calculator example and it looks like it runs the math during parse time rather than creating a "CST". In this case, both conditionals and arithmetic operators will be emitted into a JS function so they don't need to be separately interpreted at parse time.
Simplified operator value extraction to use combined regex pattern and single if statement for '<>' case.