आरंभ
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Declares the synchronous program entry point.
Aliases: main, entry
Syntax: आरंभ <block>
Category#
function
Related#
Examples#
radix/corpus/incipit/incipit.fab (canonical · keyword)#
Declares the synchronous program entry point.
test "do nothing deliberately" {
pass
}
# =============================================================================
# आरंभ — Declares the synchronous program entry point
# =============================================================================
#
# What this teaches:
# • Declares the synchronous program entry point.
# • Related keywords: फलन, आयात
#
# Common mistakes:
# • Attaching `@ cli` to a non-`आरंभ` declaration — `@ cli` may only annotate an `आरंभ` entry point (SEM009).
#
# See also: फलन, आयात
# =============================================================================
# आरंभ — basic program entry point
#
# आरंभ { <body> }
#
# GRAMMAR:
# entryBlock :← 'आरंभ' block
#
# EXPECTED OUTPUT:
# none — smoke asserts exit 0; entry diagnostic via दिखाओ.
#
# BACKEND:
# Contrast with salve-munde.fab (module-scope दिखाओ), functionibus.fab
# (calls module-level फलन), and cli/cli.fab (आरंभ तर्क).
main {
print "ingressus"
}Expected output:
ingressus