main
Alpha Chen 2 years ago
parent 1b3c8b6253
commit 1e16555963

@ -18,6 +18,7 @@ module Lox
def scan(src) = @scanner.scan(src)
def parse(tokens) = Parser.new(tokens).parse!
def resolve(stmts) = Resolver.new(@interpreter).resolve(*stmts)
def interpret(stmts) = @interpreter.interpret(stmts)
end

Loading…
Cancel
Save