रेंडरिंगhi

अस्थिर

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

Marks an interface method as planned but unavailable for a target.

Syntax: @ अस्थिर [target] [reason]

Category#

availability

Examples#

radix/corpus/annotation-sugar/nondum-braced.fab (canonical · annotation)#

Braced canonical @ अस्थिर availability record.

# =============================================================================
# अस्थिर — Braced canonical @ अस्थिर availability record.
# =============================================================================
#
# What this teaches:
#   • Unimplemented marker — `@ अस्थिर` annotates a declaration as not yet
#     implemented for a specific backend target
#   • Braced annotation syntax — `@ अस्थिर { target = rs, ratio = "…" }`
#     provides the target backend and a rationale string
#
# Common mistakes:
#   • using `@ अस्थिर` on declarations that are actually implemented for the current target (SEM017)
#
# See also: अस्थिर, annotation-sugar
# =============================================================================

interface tempus {
    @ unstable { target = rs, ratio = "timer handles are not implemented" }
    fn siste(int handle) → void
}

main {
    print "nondum-braced"
}

Expected output:

nondum-braced

radix/corpus/meta/nondum.fab (canonical · annotation)#

Marks an interface method as planned but unavailable for a target.

# =============================================================================
# अस्थिर — Marks an interface method as planned but unavailable for a target.
# =============================================================================
#
# What this teaches:
#   • the `@अस्थिर` annotation — marks interface methods as planned but not yet implemented for a target backend
#   • target-specific availability annotations with optional reason strings
#
# Common mistakes:
#   • Calling a method marked @ अस्थिर — the compiler rejects calls to अस्थिर methods for the current target (SEM017).
#
# See also: अनुबन्ध, @
# =============================================================================

# meta/nondum — planned-but-unavailable interface methods
#
# GRAMMAR:
#   interfaceMethod :← '@' 'अस्थिर' target? stringLit
#
# EXPECTED OUTPUT:
#   अस्थिर अनुबन्ध declared
#
# BACKEND:
#   Calls to @ अस्थिर methods fail semantic check (SEM017); do not invoke here.

interface tempus {
    @ unstable { target = rs, ratio = "timer handles are not implemented yet" }
    fn siste(int handle) → void
}

main {
    print "nondum implendum declared"
}

Expected output:

nondum implendum declared