PtcRunner.Lisp.BuiltinNames (PtcRunner v0.12.0)

Copy Markdown View Source

Leaf source of env-dispatched builtin names, loaded from priv/functions.exs at compile time.

Exists so PtcRunner.Lisp.SourceAtoms can derive the builtin-name half of its bounded vocabulary without calling PtcRunner.Lisp.Env.initial/0 — which would pull SourceAtoms into the Lisp runtime cycle (issue #1051). This module aliases and calls no other PtcRunner.Lisp.* runtime module, so it stays a leaf.

The names returned here equal Env.initial() |> Map.keys() exactly; a drift-guard test asserts the two stay in sync.

Summary

Functions

Returns the env-dispatched builtin names as atoms.

Functions

env_names()

@spec env_names() :: [atom()]

Returns the env-dispatched builtin names as atoms.

Equal to PtcRunner.Lisp.Env.initial/0 keys, derived from the compile-time registry instead of building the runtime environment.