Provisional API: This reference documents current compiler behavior. Compatibility is not yet promised.
src/builtins.x
The built-in macros’ compile-time algorithms.
Functions
| Function | Summary |
|---|---|
builtin_targets | Returns each built-in algorithm by the name compile-time code calls it with. |
builtin_try_cleanup_placement | Places the lowered statements that leave a try region after it, with the effect that marks the unit as needing exception support. |
Functions
builtin_targets
Map builtin_targets(void)
Returns each built-in algorithm by the name compile-time code calls it with.
Source: src/builtins.x:859
builtin_try_cleanup_placement
List builtin_try_cleanup_placement(Var cleanup)
Places the lowered statements that leave a try region after it, with the effect that marks the unit as needing exception support.
Source: src/builtins.x:848
Design notes
The built-in macros expand through these functions, which run as native
code inside the compiler. The compile-time Lisp in
etc/builtin-core.xlisp and etc/lisp-bindings.xlisp calls them by
name, and builtin_targets binds each into the shared session.