expand_qq

Function expand_qq 

Source
pub fn expand_qq(sexp: &Sexp) -> Result<Sexp, String>
Expand description

Expand quasiquote in loaded .naj source into plain cons/quote source.

Like sug, this is a read-time source transform, applied by the read-file primitive only — the read primitive stays un-transformed. The reference gets quasiquote from Scheme (mk.scm is a Scheme-level template over Pink source); narju’s floor is the Scheme analogue, so loaded libraries get the same affordance without touching pink-poly.

(quote x) is opaque outside quasiquote. Inside a template, a quoted form is ordinary list data — 'b in a template builds the datum (quote b), matching Scheme, where unquotes under it still splice.