This commit is contained in:
Vu Tuan Minh
2025-04-30 13:44:12 +02:00
parent 854b2387c4
commit 88c5047e5f
18 changed files with 66 additions and 51 deletions

View File

@@ -24,7 +24,7 @@ Declaration ::= Declaration(Type, String+)
Instruction ::= Assign(String, Expression)
| Return(Expression)
| Bloc(Instruction+)
| BlocWithDecl(DeclarationList, Instruction+)
| BlocWithDecl(Declaration+, Instruction+)
| VoidFunctionCall(String, Expression*)
| IfThen(Expression, Instruction)
| IfThenElse(Expression, Instruction, Instruction)