Basic list support

This commit is contained in:
2025-10-29 17:59:26 +00:00
parent 7e071a1b01
commit 26c1b7dd0f
5 changed files with 152 additions and 80 deletions

View File

@@ -35,6 +35,7 @@ class Executor {
size_t iterator = 0;
std::optional<ASTNode> consume();
std::optional<ASTNode> peek(int ahead = 1);
void printValue(const ASTValue& arg);
public:
explicit Executor(ASTCodeBlock in, bool isInitCall = false, std::map<std::string, Object> scopeVals = {}, std::vector<Object> args = {});
std::map<std::string, Object> getVariables();