Carl Friedrich Bolz-Tereick pushed to branch branch/lexer-less-dict-lookups at 
PyPy / pypy


Commits:
399980ab by Carl Friedrich Bolz-Tereick at 2021-11-15T12:56:31+01:00
make it possible to attach labels to end states

--HG--
branch : lexer-less-dict-lookups

- - - - -
fb3c967d by Carl Friedrich Bolz-Tereick at 2021-11-15T15:34:45+01:00
enough support to lex NAME and all keywords together

--HG--
branch : lexer-less-dict-lookups

- - - - -
7c1c37e8 by Carl Friedrich Bolz-Tereick at 2021-11-15T15:35:43+01:00
two tweaks, OP is no longer generated

--HG--
branch : lexer-less-dict-lookups

- - - - -
f557818a by Carl Friedrich Bolz-Tereick at 2021-11-15T16:47:23+01:00
save one dict lookup per token by renumbering the tokens in just the way the
parser needs it

--HG--
branch : lexer-less-dict-lookups

- - - - -


7 changed files:

- pypy/interpreter/pyparser/automata.py
- pypy/interpreter/pyparser/parser.py
- pypy/interpreter/pyparser/pygram.py
- pypy/interpreter/pyparser/pylexer.py
- pypy/interpreter/pyparser/pytoken.py
- pypy/interpreter/pyparser/pytokenizer.py
- pypy/interpreter/pyparser/test/test_pylexer.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/626395d6999d58cda355aeaddff1d5b15b668d55...f557818a2a55d699c766fb198d996e248b451d09

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/626395d6999d58cda355aeaddff1d5b15b668d55...f557818a2a55d699c766fb198d996e248b451d09
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to