Commit bd5139c8 authored by Steve Bennett's avatar Steve Bennett
Browse files

expr: Replace expression engine



Rework the expression engine to use recursive descent evaluation rather than
a shunting yard algorithm. Among other things, it is easier to make lazy operators
and the ternary operator work correctly.

In particular, the following expression no longer crashes: $(99?9,99?9:*9:999)?9)

And the code is now smaller.

Signed-off-by: default avatarSteve Bennett <steveb@workware.net.au>
parent 7b2250a7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment