रेंडरिंगhi

स्कीमा

Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.

Declares an application-owned relational heading (experimental).

Aliases: relational heading

Syntax: स्कीमा <Name> { कॉलम <type> <name> ... }

Category#

declaration

Examples#

radix/corpus/schema/schema.fab (canonical · keyword)#

Declares an application-owned relational heading (experimental).

# =============================================================================
# स्कीमा — Declares an application-owned relational heading (experimental)
# =============================================================================
#
# What this teaches:
#   • Relational headings — `स्कीमा Name { ... }` names the columns an application reads from a database result.
#   • Declaration only — a स्कीमा carries column metadata, not a runtime value, so a program that declares one still runs unchanged.
#
# Common mistakes:
#   • Giving a स्कीमा methods or `लागूकरता` — a स्कीमा is a heading, not a वर्ग; both are rejected at parse time.
#
# See also: कॉलम, वर्ग
# =============================================================================

# स्कीमा — relational heading declaration
#
# GRAMMAR:
#   schemaDecl :← 'स्कीमा' IDENTIFIER '{' (schemaColumn (NEWLINE schemaColumn)*)? '}'
#
# EXPECTED OUTPUT:
#   स्कीमा declared

स्कीमा Persona {
    column string नाम
    column int aetas
}

main {
    print "schema declared"
}

Expected output:

schema declared