tatara-lisp-script — scripting surface for tatara-lisp.
Wraps tatara-lisp-eval::Interpreter<ScriptCtx> with a batteries-included
stdlib (http, json, yaml, sops, file I/O, env, sha256, string ops) so a
.tlisp file can replace a bash script. The binary (tatara-script)
parses a .tlisp file, expands macros via tatara-lisp, and evaluates each
form against this stdlib.
Usage from nix-run
apps.tatara-script = {
type = "app";
program = "${tataraScript}/bin/tatara-script path/to/script.tlisp";
};
Library surface
Embedders that want to add domain-specific FFI on top of the stdlib can:
use ;
let mut interp: = new;
let mut ctx = default;
install_stdlib;
// Register more fns before eval_program.