add normalizing and method compilation phases (empty)

This commit is contained in:
Torsten Ruger
2017-01-14 20:30:19 +02:00
parent 1c2b6d103c
commit 9eeb9f65f3
9 changed files with 64 additions and 7 deletions

View File

@ -0,0 +1,16 @@
module Melon
module Compilers
class MethodCompiler < AST::Processor
def initialize( ruby_method )
@ruby_method
end
def handler_missing(node)
raise "No handler for #{node}"
end
end
end
end

View File

@ -0,0 +1,12 @@
module Melon
module Compilers
class Normalizer < AST::Processor
def initialize( ruby_method )
@ruby_method
end
end
end
end