class Sol::Interpreter

Public Class Methods

new() click to toggle source
# File lib/sol/interpreter.rb, line 8
def initialize

        @parser = Sol::Parser.new

end

Public Instance Methods

eval(input) click to toggle source
# File lib/sol/interpreter.rb, line 14
def eval(input)

        @parser.parse(input).eval(RuntimeModel::Runtime)

end