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

@@ -17,6 +17,11 @@ struct Instruction;
typedef std::vector<Instruction> InstructionGroup;
struct Function {
std::vector<std::string> arg_names;
InstructionGroup body;
};
struct Varname {
std::string key;
Varname(std::string in);