From 95999cb6a286871e245e8b9e20d79bc6cd22252c Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 21 Mar 2025 20:22:45 +0100 Subject: Feature: Add initial support for linking external symbols --- grammar.ebnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammar.ebnf') diff --git a/grammar.ebnf b/grammar.ebnf index bbfe488..562f2f8 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -2,7 +2,7 @@ Program ::= Statement+ Statement ::= (AssignmentStatement | FunctionCallStatement | IfStatement | WhileStatement | ReturnStatement) SEMICOLON -AssignmentStatement ::= "let" IDENTIFIER EQUALS Expression +AssignmentStatement ::= "let" IDENTIFIER EQUALS (Type | Expression) FunctionCallStatement ::= (IDENTIFIER | FunctionDefinition) LPAREN FunctionArguments? RPAREN -- cgit 1.4.1