صمت
Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.
Marks an explicit no-op statement.
Aliases: silent noop
Syntax: صمت
Category#
transfer
Related#
Examples#
radix/corpus/tacet/tacet.fab (canonical · keyword)#
Marks an explicit no-op statement.
# =============================================================================
# صمت — Marks an explicit no-op statement.
# =============================================================================
#
# What this teaches:
# • Explicit no-op — `صمت` as a deliberate empty statement, especially in control flow
# • Musical rest metaphor — `صمت` signals intentional absence of action
#
# Common mistakes:
# • using صمت where logic is expected, which hides missing code; صمت is also outside the v1 AIR pure subset
#
# See also: إذن, أعد
# =============================================================================
# صمت — explicit no-op (musical rest)
#
# صمت -- deliberate empty statement
# إذا <cond> إذن صمت -- guarded no-op
#
# GRAMMAR:
# noopStmt :← 'صمت'
#
# EXPECTED OUTPUT:
# cond صواب, finis (tacet.expected).
fn maybeNota(bool cond) → void {
if cond {
print "cond verum"
}
else {
# deliberate no-op in else branch
pass
}
}
main {
# prints
maybeNota(true)
# صمت — no output
maybeNota(false)
# condition false, so صمت never runs
if false then pass
print "finis"
}Expected output:
cond verum
finis