feat(furas): introduce global variables

This commit is contained in:
2026-08-14 13:58:29 +02:00
parent a685ecf226
commit c841427eff
4 changed files with 44 additions and 11 deletions
+3
View File
@@ -39,6 +39,7 @@ token_r lexer::next_token() {
{ "import", token::Import },
{ "public", token::Public },
{ "private", token::Private },
{ "allocate", token::Allocate },
{ "push", token::Push },
{ "array", token::Array },
@@ -65,6 +66,8 @@ token_r lexer::next_token() {
{ "lenof", token::Lenof },
{ "load", token::Load },
{ "store", token::Store },
{ "loadg", token::LoadGlobal },
{ "storeg", token::StoreGlobal },
{ "call", token::Call },
{ "jmp", token::Jmp },
{ "jnz", token::Jnz },