block-string
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Block पाठ literals with embedded quotes and newlines.
Aliases: «...»
Syntax: «<text>»
Category#
literal
Related#
Examples#
radix/corpus/literalia/block-string.fab (canonical · existing-home)#
Block पाठ literals with embedded quotes and newlines.
import from "norma:console" const write_partial as output
# =============================================================================
# block-string — Block पाठ 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, पाठ
# =============================================================================
# literalia/block-string — « ... » literals
#
# GRAMMAR:
# blockStringLit :← '«' ... '»'
#
# EXPECTED OUTPUT:
# he said "salve", line one
main {
const string quote ← «he said "salve"»
output ⇇ "§\n"(quote)
const string multiline ← «line one
still line one»
output ⇇ "§\n"(multiline.slice(0, 8))
}Expected output:
he said "salve"
line one