Lysandros Nikolaou <[email protected]> added the comment:

The grammar is indeed auto-generated by reading the actual Grammar file, 
python.gram. Here's the lexer Pablo had developed for doing the 
syntax-highlighting.

https://github.com/python/cpython/blob/master/Doc/tools/extensions/peg_highlight.py

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42128>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to