(string) source knockoffs

This commit is contained in:
Torsten Ruger
2015-10-28 21:39:59 +02:00
parent c426f4a6d5
commit e6743c7216
3 changed files with 11 additions and 11 deletions

View File

@ -30,11 +30,11 @@ module Register
methods = []
@space.classes.values.each do |c|
c.instance_methods.each do |f|
methods << f.source
methods << f
end
end
methods.each do |method|
instruction = method.method.instructions
instruction = method.instructions
while instruction.next
nekst = instruction.next
t = translator.translate(nekst) # returning nil means no replace
@ -72,7 +72,7 @@ module Register
syntax = @parser.parse_with_debug(bytes)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
Soml::Compiler.compile( parts )
Soml.compile( parts )
end
end