File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -819,6 +819,13 @@ directory on the CPython repository and manually call the parser generator by ex
819819$ python -m pegen python < PATH TO YOUR GRAMMAR FILE>
820820```
821821
822+ > [ !CAUTION]
823+ > Python's grammar (the ` Grammar/python.gram ` file) is written for the
824+ > C backend. To experiment, you will need to write a grammar
825+ > without C-specific parts like actions and the trailer.
826+ > See [ #133560 ] ( https://github.com/python/cpython/issues/133560 )
827+ > and [ #96424 ] ( https://github.com/python/cpython/issues/96424 ) for more information.
828+
822829This will generate a file called ` parse.py ` in the same directory that you
823830can use to parse some input:
824831
You can’t perform that action at this time.
0 commit comments