Now supports function calling

This commit is contained in:
Pasha Bibko
2025-05-11 15:17:07 +01:00
parent c47889a4ff
commit 2a47fd1756
9 changed files with 206 additions and 44 deletions

View File

@@ -30,6 +30,7 @@ namespace LX::AST
NUMBER_LITERAL,
OPERATION,
FUNCTION_CALL,
// Variable manipulation //
@@ -57,6 +58,9 @@ namespace LX::AST
// Function to log the node to a file //
virtual void Log(unsigned depth) = 0;
// Function to get the node's type name //
virtual const char* TypeName() = 0;
// Function for generating C/C++ code (Currently not implemented) //
//virtual void GenC() = 0;