brainstorming mode on the new way (tm)

This commit is contained in:
Torsten Ruger
2014-07-10 17:14:38 +03:00
parent ee5615ec03
commit c505db490f
8 changed files with 94 additions and 12 deletions

View File

@ -28,7 +28,7 @@ class TestBasic < MiniTest::Test
def test_name
@string_input = 'foo '
@output = [nil]
@output = [Virtual::FrameSend.new(:foo)]
check
end

View File

@ -12,7 +12,7 @@ module VirtualHelper
syntax = parser.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
machine = Virtual::Machine.new
expressions = parts.compile(machine.frame , machine.anonymous)
expressions = parts.compile(machine.frame , Virtual::Method.main )
assert_equal @output , expressions
end