العرضar

targets

Translation status: العربية reader-locale proof. Code fences render through the ar pipeline; prose is canonical Latin.

Compilation backends listed by faber targets or radix targets.

Aliases: target compatibility, backends

Syntax: faber targets

Category#

package

Examples#

radix/corpus/meta/targets.fab (canonical · concept)#

Compilation backends listed by faber targets or radix targets.

# =============================================================================
# targets — Compilation backends listed by faber targets or radix targets.
# =============================================================================
#
# What this teaches:
#   • querying compilation backends via `faber targets` or `radix targets`
#   • cross-target function compatibility — syntax lowering varies by backend
#
# Common mistakes:
#   • Assuming all syntax lowers to every backend — target availability varies; use faber targets to query the capability matrix.
#
# See also: manifest, cli, ∷, ↦
# =============================================================================

# meta/targets — backend compatibility (META)
#
# Run `faber targets` or `radix targets` for the live capability matrix.
# Core Faber syntax lowers where implemented; gaps are backend-specific.
#
# EXPECTED OUTPUT:
#   salve
#
# BACKEND:
#   META prose + minimal cross-target function smoke.

fn salve()  string {
    return "salve"
}

main {
    print salve()
}

Expected output:

salve