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

@ -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