update reader

This commit is contained in:
Torsten Ruger
2014-06-26 17:48:33 +03:00
parent 9d0d5aa431
commit 33c62a7db1
4 changed files with 9 additions and 7 deletions

View File

@ -11,11 +11,10 @@ module VirtualHelper
parser = Parser::Crystal.new
syntax = parser.parse_with_debug(@string_input)
parts = Parser::Transform.new.apply(syntax)
parts.each_with_index do |part,index|
expr = part.compile( @object_space.context )
end
machine = Virtual::Machine.new
puts parts.class.inspect
parts.compile(machine.bindings)
end
end