compile/get-compiler

Syntax: (get-compiler), (get-compiler NS)

Behaviour: Expands to a call to the get-compiler runtime function. With no argument the namespace is (vars); with one, the given namespace. The result is the Compiler that owns the namespace’s module, for compiling further forms into it.

Examples:

>>> (type (get-compiler))
<class 'koskari.compile.compiler.Compiler'>

See also: compileq, evaluate.

Also: function get-compiler.