FusionDSL v0.0.1-dev FusionDsl.Runtime.Executor View Source
Functions to control and manage execution cycles of fusion dsl.
Link to this section Summary
Functions
Executes the program in given enviornment
Executes a single FusionDsl AST and returns the result
Link to this section Functions
Executes the program in given enviornment
Link to this function
execute_ast(num, env)
View Source
execute_ast( FusionDsl.Processor.Program.ast(), FusionDsl.Processor.Environment.t() ) :: {:ok, any(), FusionDsl.Processor.Environment.t()} | {:jump, integer(), FusionDsl.Processor.Environment.t()} | {:jump_to, any(), FusionDsl.Processor.Environment.t()} | {:error, String.t()}
Executes a single FusionDsl AST and returns the result.