Fixed loop instructions, local registers in other instructions, upvalues and tables. Builds and passes test.
This commit is contained in:
parent
110e035efd
commit
60c097518a
9 changed files with 229 additions and 151 deletions
|
|
@ -1,2 +1,9 @@
|
|||
local table = { "hello", "friend" }
|
||||
print(table[1], table[2])
|
||||
local var = 2
|
||||
local function thing()
|
||||
print(var)
|
||||
var = 3
|
||||
end
|
||||
|
||||
print(var)
|
||||
thing()
|
||||
thing()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue