Closed chharvey closed 4 years ago
Parse variable declaration and reassignment statements, for (re)assigning expressions to variables. Update the final goal symbol to include multiple statements.
Goal ::= #x02 Statement* #x03 Statement ::= DeclarationVariable | StatementAssignment | Expression ";" DeclarationVariable ::= "let" "unfixed"? IDENTIFIER "=" Expression ";" StatementAssignment ::= IDENTIFIER "=" Expression ";"
updating this issue to include empty statements.
Statement ::= DeclarationVariable | StatementAssignment | Expression? ";"
Parse variable declaration and reassignment statements, for (re)assigning expressions to variables. Update the final goal symbol to include multiple statements.