class Savi::Compiler::Run

Overview

The purpose of the Run pass is to run the program built by the Binary pass.

This pass does not mutate the Program topology. This pass does not mutate the AST. This pass does not raise any compilation errors. This pass keeps temporary state (on the stack) at the program level. This pass produces output state at the program level (the exit code). !! This pass has the side-effect of executing the program.

Defined in:

savi/compiler/run.cr

Instance Method Summary

Instance Method Detail

def exitcode : Int32 #

[View source]
def exitcode? : Int32 | Nil #

[View source]
def run(ctx) #

[View source]