blog | oilshell.org

Nondeterminism and "Prestructuring" the Input

2017-12-17

Example of non-determinism with re2c

do done donex

Write up some example code?

Another point:

By default, kind Lit means -- concatenate into literal echo {},~ echo foo=bar

echo for for echo in a

however we don't want to put them in Lit_Chars, because we want to minimize "rewriting/parsing" of tokens. Tokens are generally-reorer

however when those symbols appear in specific parsing contexts, we rewrite them we.