View Source VacEngine.Processor.Compiler (Vac Engine v1.1.1)

Compile AST

Not to be used directly, use the VacEngine.Processor interface.

Link to this section Summary

Functions

Compile a blueprint and return AST

Compile an expression and return AST

Eval an expression (will use eval_ast/2)

Link to this section Functions

Link to this function

compile_blueprint(br, opts \\ [])

View Source

Compile a blueprint and return AST

Link to this function

compile_expression!(expr)

View Source

Compile an expression and return AST

Link to this function

eval_ast(compiled_ast, state)

View Source

Eval AST

Link to this function

eval_expression(expr, input \\ %{})

View Source

Eval an expression (will use eval_ast/2)