कॉलम
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Declares one typed column inside a schema body (experimental).
Aliases: column
Syntax: कॉलम <type> <name> (: <sourceName>)?
Category#
declaration
Related#
Examples#
radix/corpus/columna/columna.fab (canonical · keyword)#
Declares one typed column inside a schema body (experimental).
# =============================================================================
# कॉलम — Declares one typed column inside a स्कीमा body (experimental)
# =============================================================================
#
# What this teaches:
# • Column rows — each `कॉलम` takes a type and a public name, one row per line.
# • Source alias — `: sourceName` maps the public column to a differently named source column.
# • Nullable columns — a column that may be absent is typed `T ∪ none`.
#
# Common mistakes:
# • Putting two columns on one line — each `कॉलम` row starts on its own line.
#
# See also: स्कीमा
# =============================================================================
# कॉलम — typed स्कीमा column
#
# GRAMMAR:
# schemaColumn :← 'कॉलम' typeAnnotation IDENTIFIER (':' IDENTIFIER)?
#
# EXPECTED OUTPUT:
# columns declared
स्कीमा Persona {
column string नाम
column int aetas : years
column string ∪ none electronica : email
}
main {
print "columns declared"
}Expected output:
columns declared