aboutsummaryrefslogtreecommitdiff
path: root/jim-regexp.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2017-05-12 13:33:44 +1000
committerSteve Bennett <steveb@workware.net.au>2017-05-23 14:36:56 +1000
commitbd5139c89e714bb7e10a0da55d9a10f51e93516c (patch)
treea1fb42986a3abc588e05f0b7eea4361c723f779c /jim-regexp.c
parent7b2250a7e60968b0c3716a7caa780e6ca0a2ce9b (diff)
downloadjimtcl-bd5139c89e714bb7e10a0da55d9a10f51e93516c.zip
jimtcl-bd5139c89e714bb7e10a0da55d9a10f51e93516c.tar.gz
jimtcl-bd5139c89e714bb7e10a0da55d9a10f51e93516c.tar.bz2
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: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-regexp.c')
0 files changed, 0 insertions, 0 deletions