Skip to main content

Module entry

Module entry 

Source

Constants§

ENTRY_NAMES
Entry-point binding names recognised across Ling’s supported human languages. Shared by the tree-walker and the MIR backends so every execution path agrees on which top-level binding starts the program.

Functions§

entry_name
Resolve the entry binding among top-level items: a bind named after a known entry keyword, otherwise the first bind whose value is a do { } block. Mirrors the tree-walker’s find_entry.