Skip to main content

Module loader

Module loader 

Source
Expand description

Generic spec loader — thin wrapper around tatara_lisp::compile_typed.

Parses a Lisp source string into a typed TataraDomain value, returning either a single value (load_one) or all values in document order (load_all). Exists mostly so that call sites don’t have to import tatara_lisp directly.

Functions§

load_all
Compile the entire src and return every top-level form of type T.
load_one
Convenience: compile src and return the single top-level form of type T, erroring if there are zero forms. Extra forms are discarded (callers who care should use load_all).