Expand description
tatara-rust-tlisp — tlisp authoring surface for every L2 macro Spec.
Two purposes:
- Forward path — write a
(defprocderive …)/(defprocattr …)/(defprocfn …)/(defmacrules …)/(defsuite …)form in tlisp; this crate’s [render_tlisp] turns each Spec back into that text shape (round-trip). - TataraDomain registration — when tatara-lisp-derive lands as a
dep, every Spec gets
#[derive(TataraDomain)]+#[tatara(keyword = "def…")]in this crate. Authoring forms expand to the Spec at compile time.
Today only the rendering half ships. The derive macros land as a one-line addition per Spec once the upstream is reachable.
Re-exports§
pub use catalog::ParseError;pub use catalog::SExpr;pub use catalog::parse_macrocatalog;pub use catalog::parse_sexprs;pub use catalog::render_macrocatalog;
Modules§
- catalog
(defmacrocatalog …)tlisp authoring surface.
Traits§
- Render
Tlisp - Render any Spec to its canonical tlisp
(def<kind> …)form. The returned text is what the operator authors today in a.tlispfile.