Module flowclib::compiler::compile

source ·
Expand description

Compile is responsible for connecting outputs to inputs across functions and flows and flattening the model to be just functions, then taking care of manifest generation

Structs

  • CompilerTables are built from the flattened and connected flow model in memory and are used to generate the flow’s manifest ready to be executed.

Functions

  • Take a hierarchical flow definition in memory and compile it, generating a manifest for execution of the flow, including references to libraries required.
  • Calculate the paths to the source file of the implementation of the function to be compiled and where to output the compiled wasm. out_dir optionally overrides the destination directory where the wasm should end up