class Interpreter

Direct Known Subclasses

Defined in:

calc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ast : AST) #

[View source]

Instance Method Detail

def interpret #

[View source]
def visit(node : BinOp) : Int32 #

[View source]
def visit(node : UnaryOp) : Int32 #

[View source]
def visit(node : Num) : Int32 #

[View source]