| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:e2020ab9-c10b-ddc1-b67e-63ddfab7c50a |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D29C:31E99C:3610492:481264C:6B020936 |
| html-safe-nonce | 2319b1655bee9ded8e75644baf5d188d0e545fb60a453e12b97ba650130c4a97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjlDOjMxRTk5QzozNjEwNDkyOjQ4MTI2NEM6NkIwMjA5MzYiLCJ2aXNpdG9yX2lkIjoiMzgwNTc5NzA4NzE1MzYyMTMwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a1bc64ea19b45c0051e75c17776533f91f37bf4e2933578542d5d2ce2f88a70c |
| hovercard-subject-tag | repository:1447790285 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md |
| twitter:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed1e8647ba3ae8c65931fa343b8bc8beb09e2048558df81b38a0b843ce1557b9/sidlovescoding/Cpython |
| og:image:alt | The Python programming language. Contribute to sidlovescoding/Cpython development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/sidlovescoding/Cpython git https://github.com/sidlovescoding/Cpython.git |
| octolytics-dimension-user_id | 207958570 |
| octolytics-dimension-user_login | sidlovescoding |
| octolytics-dimension-repository_id | 1447790285 |
| octolytics-dimension-repository_nwo | sidlovescoding/Cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 81598961 |
| octolytics-dimension-repository_parent_nwo | python/cpython |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fblob%2Fsid-python-3.15%2FInternalDocs%2Fparser.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsidlovescoding%2FCpython%2Fblob%2Fsid-python-3.15%2FInternalDocs%2Fparser.md |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=sidlovescoding%2FCpython |
| Reload | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md |
| Reload | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md |
| Reload | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md |
| sidlovescoding | https://github.com/sidlovescoding |
| Cpython | https://github.com/sidlovescoding/Cpython |
| Code | https://github.com/sidlovescoding/Cpython |
| Pull requests1 (1) | https://github.com/sidlovescoding/Cpython/pulls |
| Actions | https://github.com/sidlovescoding/Cpython/actions |
| Projects | https://github.com/sidlovescoding/Cpython/projects |
| Security and quality | https://github.com/sidlovescoding/Cpython/security |
| Insights | https://github.com/sidlovescoding/Cpython/pulse |
| https://github.com/sidlovescoding/Cpython |
| Cpython | https://github.com/sidlovescoding/Cpython/tree/sid-python-3.15 |
| InternalDocs | https://github.com/sidlovescoding/Cpython/tree/sid-python-3.15/InternalDocs |
| History | https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/InternalDocs/parser.md |
| https://github.com/sidlovescoding/Cpython/commits/sid-python-3.15/InternalDocs/parser.md |
| Cpython | https://github.com/sidlovescoding/Cpython/tree/sid-python-3.15 |
| InternalDocs | https://github.com/sidlovescoding/Cpython/tree/sid-python-3.15/InternalDocs |
| Raw | https://github.com/sidlovescoding/Cpython/raw/refs/heads/sid-python-3.15/InternalDocs/parser.md |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#guide-to-the-parser |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#abstract |
| PEG (Parser Expression Grammar) | https://en.wikipedia.org/wiki/Parsing_expression_grammar |
| PEP 617: New PEG parser for CPython | https://peps.python.org/pep-0617/ |
| LL(1) | https://en.wikipedia.org/wiki/LL_parser |
| parser generator | https://en.wikipedia.org/wiki/Compiler-compiler |
| grammar file | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Grammar/python.gram |
| Changing CPython's grammar | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/changing_grammar.md |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#how-peg-parsers-work |
| context-free grammar | https://en.wikipedia.org/wiki/Context-free_grammar |
| "packrat parsing" | https://pdos.csail.mit.edu/~baford/packrat/thesis/ |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#key-ideas |
| SyntaxError | https://docs.python.org/3/builtins/exceptions.html#SyntaxError |
| EBNF | https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#consequences-of-the-ordered-choice-operator |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#grammar-syntax |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#grammar-expressions |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#left-recursion |
| Medeiros et al. | https://arxiv.org/pdf/1207.0443 |
| Warth et al. | http://web.cs.ucla.edu/~todd/research/pepm08.pdf |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#variables-in-the-grammar |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#grammar-actions |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#pegen |
| Grammar/python.gram | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Grammar/python.gram |
| Tools/peg_generator/pegen | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Tools/peg_generator/pegen |
| Tools/peg_generator/pegen/metagrammar.gram | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Tools/peg_generator/pegen/metagrammar.gram |
| Tools/peg_generator/pegen | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Tools/peg_generator/pegen |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#how-to-regenerate-the-parser |
| Parser/parser.c | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/parser.c |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#how-to-regenerate-the-meta-parser |
| Tools/peg_generator/pegen/metagrammar.gram | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Tools/peg_generator/pegen/metagrammar.gram |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#grammatical-elements-and-rules |
| Grammar/Tokens | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Grammar/Tokens |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#tokenization |
| Grammar/Tokens | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Grammar/Tokens |
| Parser/lexer | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/lexer |
| Parser/tokenizer | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/tokenizer |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#memoization |
| Parser/pegen.c | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/pegen.c |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#automatic-variables |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#hard-and-soft-keywords |
| consequences of ordered choice | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#consequences-of-the-ordered-choice-operator |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#error-handling |
| rule action | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#grammar-actions |
| SyntaxError | https://docs.python.org/3/builtins/exceptions.html#SyntaxError |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#how-syntax-errors-are-reported |
| how PEG parsers work | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#how-peg-parsers-work |
| SyntaxError | https://docs.python.org/3/builtins/exceptions.html#SyntaxError |
| how PEG parsers work | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#how-peg-parsers-work |
| Parser/pegen.h | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/pegen.h |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#generating-ast-objects |
| grammar file | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Grammar/python.gram |
| AST compiler section | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/compiler.md#abstract-syntax-trees-ast |
| Parser/pegen.h | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/pegen.h |
| Parser/action_helpers.c | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/action_helpers.c |
| https://docs.python.org/3/reference/grammar.html | https://docs.python.org/3/reference/grammar.html |
| Parser/action_helpers.c | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/action_helpers.c |
| Parser/pegen.h | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Parser/pegen.h |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#testing |
| test_grammar.py | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Lib/test/test_grammar.py |
| test_syntax.py | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Lib/test/test_syntax.py |
| test_exceptions.py | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Lib/test/test_exceptions.py |
| test_peg_generator | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Lib/test/test_peg_generator |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#debugging-generated-parsers |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#making-experiments |
| Tools/peg_generator | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/Tools/peg_generator |
| #133560 | https://github.com/python/cpython/issues/133560 |
| #96424 | https://github.com/python/cpython/issues/96424 |
| https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/InternalDocs/parser.md#verbose-mode |
| PCbuild/build.bat | https://github.com/sidlovescoding/Cpython/blob/sid-python-3.15/PCbuild/build.bat |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |