block-string
Translation status: English reader-locale proof. Code fences render through the en pipeline; prose is canonical Latin.
Block textus literals with embedded quotes and newlines.
Aliases: «...»
Syntax: «<text>»
Category#
literal
Related#
Examples#
radix/corpus/literalia/block-string.fab (canonical · existing-home)#
Block textus literals with embedded quotes and newlines.
# =============================================================================
# block-string — Block textus literals with embedded quotes and newlines.
# =============================================================================
#
# What this teaches:
# • block string literals with `«...»` — embed quotes and newlines without escaping
# • multiline content in a single literal value
#
# Common mistakes:
# • Using triple-quote """...""" or ❝...❞ instead of «...» — block strings use guillemets only.
#
# See also: string, textus
# =============================================================================
# literalia/block-string — « ... » literals
#
# GRAMMAR:
# blockStringLit :← '«' ... '»'
#
# EXPECTED OUTPUT:
# he said "salve", line one
main {
const _ quote ← «he said "salve"»
print quote
const _ multiline ← «line one
still line one»
print multiline.sectio(0, 8)
}Expected output:
he said "salve"
line one