Permalink
Please sign in to comment.
Browse files
Got re2c code working in a Python extension.
For this step, the re2c expressions are manually written rather than generated. Also: - assert on out-of-bounds error - Able to correctly match against NUL for Eof_Real
- Loading branch information...
Showing
with
93 additions
and 25 deletions.
- +2 −2 build/codegen.sh
- +6 −2 build/setup.py
- +3 −1 native/fastlex.c
- +29 −10 native/fastlex_test.py
- +47 −6 osh/lex_gen.py
- +6 −4 osh/parse_lib.py
0 comments on commit
1bef1c5