nustack
ReferenceNulang

helpers.compilation

Nu-specialized compile: binds the finalized Nu SCHEMA.

Module nu.lang.helpers.compilation.

Nu-specialized compile: binds the finalized Nu SCHEMA.

Wraps nu.engine.compile with Nu's schema so callers don't have to pass it. The engine's Program.__init__ already stashes the schema on the returned Program as _schema for downstream round-trips.

NameCallMeaning
compilelang.compile(term)Compile a Nu Term against the Nu schema; return a runnable Program.

compile

Compile a Nu Term against the Nu schema; return a runnable Program.

lang.compile(term)

Path nu.lang.compile. Defined on nu.lang.helpers.compilation, bound as a function. Builds Program.

Arguments

NameTypeDefaultMeaning
termTerm

Undocumented: example.

On this page