Renderingla

incipit

Declares the synchronous program entry point.

Aliases: main, entry

Syntax: incipit <block>

Category

function

Related

Examples

examples/corpus/incipit/incipit.fab (canonical · keyword)

Declares the synchronous program entry point.

# 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).

incipit {
    nota "ingressus"
}

Expected output:

ingressus