CF Grammar improvements
This commit is contained in:
parent
8feeb3d1c1
commit
a938bf9bb1
10 changed files with 262 additions and 20 deletions
12
Parser/rsc/grammar.txt
Normal file
12
Parser/rsc/grammar.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
/*
|
||||
Sample grammar.
|
||||
This grammar wil produce text in the form: TODO
|
||||
*/
|
||||
|
||||
/* This is the starting production of the grammar */
|
||||
Start A
|
||||
|
||||
/* Production rule */
|
||||
A : [ ID ];
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue