Function arguments

This commit is contained in:
2025-10-02 12:41:11 +10:00
parent 2a977707ee
commit 08d3c1545b
10 changed files with 148 additions and 38 deletions

View File

@@ -6,8 +6,11 @@
#include "../defs/defs.h"
namespace data {
extern std::map<std::string, Value> vars;
extern std::map<std::string, std::vector<Instruction>> functions;
extern std::vector<std::map<std::string, Value>> scopes;
extern std::map<std::string, Function> functions;
void modifyValue(std::string key, Value value);
Value getValue(std::string key);
void pushScope();
void popScope();
void initScopes();
}