pinchpi_compiler behaviour (pinchpi v0.1.0)

Summary

Callbacks

compiled_entry/1

(optional)
-callback compiled_entry(term()) -> term().

Functions

call_compiled(Mod, FnAtom, Ctx)

-spec call_compiled(module(), atom(), pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.

compile_ast(FilePath, AST)

-spec compile_ast(binary(), term()) -> term().