Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tools:pgen [2025/10/08 14:50] – [Parser Generator] rajittools:pgen [2025/10/08 14:51] (current) – [Parser Generator] rajit
Line 38: Line 38:
  
 The rest of the file specifies the BNF and the actions to be performed on parse tree traversal. The BNF itself is quite simple. Note that ''INT'' and ''ID'' have not been defined in the file. This is because ''pgen'' has a few built-in  The rest of the file specifies the BNF and the actions to be performed on parse tree traversal. The BNF itself is quite simple. Note that ''INT'' and ''ID'' have not been defined in the file. This is because ''pgen'' has a few built-in 
-[[:basebnf|base BNF items]].+[[basebnf|base BNF items]].
 Note also how the code uses the label ''W:'' to indicate that the walk type ''W'' is being defined. Note also how the code uses the label ''W:'' to indicate that the walk type ''W'' is being defined.