From 9822f3d7702af36d757ba423c34f3f1517901d75 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 11 Jul 2015 21:41:13 +0300 Subject: [PATCH] remove parse code from main --- app/main/lib/main_view.rb | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app/main/lib/main_view.rb b/app/main/lib/main_view.rb index a4d3961..4befbde 100644 --- a/app/main/lib/main_view.rb +++ b/app/main/lib/main_view.rb @@ -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