5fe0ba06ab
moving on to getting mom to work and can’t have both interpreter and elf broke, about 100 tests went
11 lines
239 B
Ruby
11 lines
239 B
Ruby
module Vm
|
|
module Tree
|
|
class OperatorExpression < Expression
|
|
attr_accessor :operator , :left_expression , :right_expression
|
|
def to_s
|
|
"#{left_expression} #{operator} #{right_expression}"
|
|
end
|
|
end
|
|
end
|
|
end
|