so close i can smell it, checkpoint

This commit is contained in:
Torsten Ruger
2014-05-03 22:18:04 +03:00
parent 5608c411bf
commit a61170942f
14 changed files with 245 additions and 69 deletions

View File

@ -21,8 +21,6 @@ class TestRunner < MiniTest::Test
syntax = Parser::Composed.new.parse(string)
tree = Parser::Transform.new.apply(syntax)
puts tree.to_yaml
program = Vm::Program.new "Arm"
expression = tree.to_value
compiled = expression.compile( program.context )
@ -30,7 +28,7 @@ class TestRunner < MiniTest::Test
program.wrap_as_main compiled
puts program.to_yaml
program.verify
puts program.to_yaml
# puts program.to_yaml
end
end