class

Dragonstone::Runtime::Engine

Inherits Reference < Object

Constructors

new(resolver : ModuleResolver, log_to_stdout : Bool = false, typing_enabled : Bool = false, backend_mode : BackendMode = BackendMode::Auto, argv : Array(String) = [] of String)
Source

Instance methods

compile_or_eval(ast : AST::Program, path : String, typed : Bool | Nil = nil, analysis : Language::Sema::AnalysisResult | Nil = nil, preferred_backend : BackendMode | Nil = nil) : Unit
Source
compile_or_eval(program : IR::Program, path : String, typed : Bool | Nil = nil, preferred_backend : BackendMode | Nil = nil) : Unit
Source
unit_cache
Source