Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add link to Tools/peg_generator.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
ezio-melotti and CAM-Gerlach authored Dec 25, 2022
commit 5d24c816efe054381536c9e4fc310bd4fb23c96d
2 changes: 1 addition & 1 deletion developer-workflow/grammar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Note: sometimes things mysteriously don't work. Before giving up, try ``make cl
* :cpy-file:`Grammar/python.gram`: The grammar, with actions that build AST nodes.
After changing it, run ``make regen-pegen`` (or ``build.bat --regen`` on Windows),
to regenerate :cpy-file:`Parser/parser.c`.
(This runs Python's parser generator, ``Tools/peg_generator``).
(This runs Python's parser generator, :cpy-file:`Tools/peg_generator`).

* :cpy-file:`Grammar/Tokens` is a place for adding new token types. After
changing it, run ``make regen-token`` to regenerate
Expand Down