class Magiika::Interpreter

Defined in:

lang/interpreter/interpreter.cr
lang/interpreter/parser_builder.cr

Instance Method Summary

Instance Method Detail

def execute(instructions : String, scope : Scope, filename : String | Nil = nil) : Node #

[View source]
def parse(tokens : Array(Merlin::MatchedToken(Symbol))) : Node #

[View source]
def run_file(file_path : String) : Nil #

[View source]
def run_interactive : Nil #

[View source]
def show_ast : Bool #

[View source]
def show_ast=(show_ast : Bool) #

[View source]
def show_logs : Bool #

[View source]
def show_logs=(show_logs : Bool) #

[View source]
def show_tokenization : Bool #

[View source]
def show_tokenization=(show_tokenization : Bool) #

[View source]
def tokenize(instructions : String, filename : String | Nil = nil) : Array(Merlin::MatchedToken(Symbol)) #

[View source]