incipit
Translation status: Tiếng Việt reader-locale proof. Code fences render through the vi pipeline; prose is canonical Latin.
Declares the synchronous program entry point.
Aliases: main, entry
Syntax: incipit <block>
Category#
function
Related#
Examples#
radix/corpus/incipit/incipit.fab (canonical · keyword)#
Declares the synchronous program entry point.
# =============================================================================
# incipit — Declares the synchronous program entry point
# =============================================================================
#
# What this teaches:
# • Declares the synchronous program entry point.
# • Related keywords: functio, importa
#
# Common mistakes:
# • Attaching `@ cli` to a non-`incipit` declaration — `@ cli` may only annotate an `incipit` entry point (SEM009).
#
# See also: functio, importa
# =============================================================================
# incipit — basic program entry point
#
# incipit { <body> }
#
# GRAMMAR:
# entryBlock :← 'incipit' block
#
# EXPECTED OUTPUT:
# none — smoke asserts exit 0; entry diagnostic via nota.
#
# BACKEND:
# Contrast with salve-munde.fab (module-scope nota), functionibus.fab
# (calls module-level functio), and cli/cli.fab (incipit argumenta).
main {
print "ingressus"
}
test "do nothing deliberately" {
pass
}Expected output:
ingressus