gleamunison/cli_datalog
Values
pub fn eval_source(source: String) -> Result(String, String)
Evaluate one self-contained source, printing every top-level value. Kept for callers that want the whole program’s output, including defines.
pub fn read_engine() -> Result(String, String)
Load the engine from the first carrier that has it: the escript archive (any working directory), the application priv dir (Hex consumers), then the repository (priv/datalog, then the source of truth).