fix compile errors

This commit is contained in:
IlyaShurupov 2024-02-08 19:16:56 +03:00 committed by Ilusha
parent 1d9ef2aa6c
commit 63b0560375
27 changed files with 19 additions and 21 deletions

View 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 ];