Basic Syntax
AbySS leans into symbolic, magic-inspired keywords without sacrificing readability. Comments follow familiar patterns, so you can annotate spells freely while keeping the parser happy.
Comments
Section titled “Comments”// This is a single-line comment/* This is a multi-line comment*/Math Rituals
Section titled “Math Rituals”Pure, sandbox-safe helpers available everywhere — including the Playground:
abs(x)→ magnitude of anarcanaoraether, preserving the type.sqrt(x)→ afate:bless { value }with the square root, orcurse { reason }for a negative input — sosqrt(x)?is the everyday form (see Error Handling).floor(x)/ceil(x)→ nearestarcanaat or below / above anaether.
unveil(abs(-7).transmute(rune));unveil(abs(-2.5).transmute(rune));oracle (sqrt(9.0)) { bless { value } => unveil(value); curse { reason } => unveil(reason);};unveil(floor(2.9).transmute(rune));unveil(ceil(2.1).transmute(rune));72.5323Style Notes
Section titled “Style Notes”- Keywords such as
forge,oracle, andorbitare intentionally thematic but remain deterministic. - Statements end with semicolons; code blocks use
{ ... }like other C-family syntaxes. - Multi-line constructs favor indentation plus single keywords per line for quick scanning.
Continue through the reference for deeper dives into types, control flow, collections, and artifacts.