remove parse code from main

This commit is contained in:
Torsten Ruger 2015-07-11 21:41:13 +03:00
parent 6c26c0b538
commit 9822f3d770
1 changed files with 0 additions and 20 deletions

View File

@ -30,26 +30,6 @@ class MainView
end
animate.call
string_input = '"Hello again\n".putstring()'
machine = ::Virtual::Machine.boot
expressions = machine.compile_main string_input
if( expressions.first.is_a? Parfait::Method )
# stops the whole objectspace beeing tested
# with the class comes superclass and all methods
expressions.first.instance_variable_set :@for_class , nil
expressions.first.secret_layout_hammer
expressions.first.code.secret_layout_hammer
end
if( expressions.first.is_a? Virtual::Self )
# stops the whole objectspace beeing tested
# with the class comes superclass and all methods
expressions.first.type.instance_variable_set :@of_class , nil
end
is = Sof.write(expressions)
#puts is
is.gsub!("\n" , "*^*")
end
attr_reader :container