العرضar

غير_مستقر

Translation status: العربية reader-locale proof. Term names and code fences follow the ar 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