diff --git a/InternalDocs/parser.md b/InternalDocs/parser.md index 1d0ffe6d40d078..8ce48a9acd01ac 100644 --- a/InternalDocs/parser.md +++ b/InternalDocs/parser.md @@ -819,6 +819,12 @@ directory on the CPython repository and manually call the parser generator by ex $ python -m pegen python ``` +> [!CAUTION] +> This grammar file has to be specific to Python and does not work with the existing +> C language based `Grammar/python.gram` file. +> See [#133560](https://github.com/python/cpython/issues/133560) +> and [#96424](https://github.com/python/cpython/issues/96424) for more information. + This will generate a file called `parse.py` in the same directory that you can use to parse some input: