靜默
Translation status: 繁體中文 reader-locale proof. Term names and code fences follow the zh-Hant 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