fix compile errors
This commit is contained in:
parent
1d9ef2aa6c
commit
63b0560375
27 changed files with 19 additions and 21 deletions
20
.back/old/Parser/rsc/grammar.txt
Normal file
20
.back/old/Parser/rsc/grammar.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
/*
|
||||
Sample grammar.
|
||||
This grammar wil produce text in the form: TODO
|
||||
*/
|
||||
|
||||
/* This is the starting production of the grammar */
|
||||
|
||||
/* Simple Example
|
||||
Start A
|
||||
A : [ ID ] | &;
|
||||
*/
|
||||
|
||||
/* Lists Example */
|
||||
|
||||
Start List
|
||||
|
||||
List : List Stm | Stm;
|
||||
Stm : StmBody [ END ];
|
||||
StmBody: [ Stm1 ] | [ Stm2 ] | [ Stm3 ];
|
||||
Loading…
Add table
Add a link
Reference in a new issue