WIP: add a Val struct as an input/output when calling a function

This commit is contained in:
2024-12-12 17:57:24 +01:00
parent 0ac4df97e9
commit 6f75664400
4 changed files with 503 additions and 279 deletions

View File

@@ -233,7 +233,6 @@ struct Env
void Clear()
{
res = false; // result is false by default
is_for = false;
is_if = false;
is_if_def = false;
@@ -243,6 +242,7 @@ struct Env
iter = 0;
stack_tab = 0;
stack_index = 0;
res.clear();
}
/*