Skip to main content

compile_with_registry

Function compile_with_registry 

Source
pub fn compile_with_registry(
    source: &str,
    registry: Option<&AbstractionRegistry>,
) -> Result<String, Box<dyn Error>>
Expand description

Compile a .flutmax source string with an AbstractionRegistry.

When a registry is provided, it resolves Abstraction inlet/outlet counts by referencing in/out declarations from other .flutmax files.