Permalink
Please sign in to comment.
Browse files
Hook up the echo -e lexer to fastlex.
- Exclude NUL from normal characters - Handle NUL (end of string) as a special special re2c clause generated by core/lexer_gen.py - Split the lexer into "matcher" (fast/slow) and "lexer" components. All unit tests and spec tests pass. (Although unit tests are running against fastlex, not without fastlex.)
- Loading branch information...
Showing
with
30 additions
and 23 deletions.
- +4 −0 core/lexer_gen.py
- +1 −1 osh/lex.py
- +3 −0 osh/lex_test.py
- +22 −22 osh/match.py
0 comments on commit
9995c96