more random code
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
def foo(x)
|
||||
a = 5
|
||||
end
|
||||
end
|
||||
|
||||
foo( 3 )
|
@ -25,9 +25,10 @@ class TestRunner < MiniTest::Test
|
||||
#link
|
||||
# execute
|
||||
# check result ?
|
||||
puts string
|
||||
puts " "
|
||||
puts tree.inspect
|
||||
context = Vm::Context.new
|
||||
builder = Asm::Program.new
|
||||
compiled = tree.compile( builder , context )
|
||||
puts compiled.inspect
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user