Interpreter

sealed trait Interpreter
Companion:
object
class Object
trait Matchable
class Any
object Interpreter.type

Value members

Concrete methods

def interpret(ast1: AST, meta: Meta, laws: InterpreterLaws): Either[Throwable, Cell]

Interprets AST.

Interprets AST.

NOTE: AST must be built before the interpretation.

def interpret_(ast1: AST, meta: Meta, laws: InterpreterLaws): Either[Throwable, InterpretState]

Interprets AST.

Interprets AST.

Low-level API. Returns an interpreter state.