de8fe46fe0
and associated changes in code, requires tests etc
10 lines
291 B
Ruby
10 lines
291 B
Ruby
module Virtual
|
|
module Compiler
|
|
# operator attr_reader :operator, :left, :right
|
|
def self.compile_operator expression, method
|
|
call = Ast::CallSiteExpression.new(expression.operator , [expression.right] , expression.left )
|
|
Compiler.compile(call, method)
|
|
end
|
|
end
|
|
end
|