8000 gh-119786: Move parser doc from devguide to InternalDocs by iritkatriel · Pull Request #125119 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-119786: Move parser doc from devguide to InternalDocs #125119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 9, 2024
Prev Previous commit
Next Next commit
Apply Ezio's suggestions from code review
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
  • Loading branch information
iritkatriel and ezio-melotti authored Oct 9, 2024
commit 40d0a04a3b1c880a6b4b35a7a86d8da9f4b4770e
4 changes: 2 additions & 2 deletions InternalDocs/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Abstract
--------

Python's Parser is currently a
[``PEG`` (Parser Expression Grammar)](https://en.wikipedia.org/wiki/Parsing_expression_grammar)
[`PEG` (Parser Expression Grammar)](https://en.wikipedia.org/wiki/Parsing_expression_grammar)
parser. It was introduced in
[PEP 617: New PEG parser for CPython](https://peps.python.org/pep-0617/) to replace
the original [``LL(1)``](https://en.wikipedia.org/wiki/LL_parser) parser.
Expand All @@ -17,7 +17,7 @@ Therefore, changes to the Python language are made by modifying the
[grammar file](https://github.com/python/cpython/blob/main/Grammar/python.gram).
Developers rarely need to modify the generator itself.

See the devguide's [Changing CPythons grammar](https://devguide.python.org/developer-workflow/grammar/#grammar)
See the devguide's [Changing CPython's grammar](https://devguide.python.org/developer-workflow/grammar/#grammar)
for a detailed description of the grammar and the process for changing it.

How PEG parsers work
Expand Down
0