Improved syntax for functions

Added logging system for AST nodes as well.
This commit is contained in:
Pasha Bibko
2025-04-24 21:34:30 +01:00
parent 099e543e95
commit 321a7fea18
8 changed files with 74 additions and 27 deletions

View File

@@ -113,7 +113,8 @@ namespace LX
{ '[', Token::OPEN_BRACE },
{ ']', Token::CLOSE_BRACE },
{ '(', Token::OPEN_PAREN },
{ ')', Token::CLOSE_PAREN }
{ ')', Token::CLOSE_PAREN },
{ ',', Token::COMMA }
};
// All the single-char operators currently supported by the lexer with their token-enum equivalents //