PBXB64 V23 language reference

B64 supported commands and scope

Functions/prototypes, integer/f64/bool scalars, typed pointers, structs, fixed arrays, typedefs, globals/constants, control flow, arithmetic/comparisons/bitwise operators, casts and sizeof(type). Self-referential structure pointers and several malformed/unsupported declaration forms are rejected; promotion fixtures were not executed in this recovery.

Status: experimental. Source basis: PBXB64/docs/B64_SCOPE.md and PBXB64/src/frontends/b64 (native .b64 parser/lowerer).

Back to language detailPBXB64 overviewDeutsch

Types / Typen

NameSyntax / formScopeBoundary
i64 / f64 / boollet name: i64|f64|boolScalar values and typed locals/globals.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.
pointersT* / *TInteger and typed pointers with dereference and pointer comparisons.Self-referential struct pointers are unsupported.
struct / typedefstruct Name { ... }; typedef ...Records and named aliases.Declaration must precede use unless extern prototype supplies it.

Functions / Funktionen

NameSyntax / formScopeBoundary
fnfn name(args) -> type { ... }Functions with fixed prototypes and return values.Extern declarations are required for forward calls.
externextern fn name(...);Declares an external function prototype.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.

Control flow / Kontrollfluss

NameSyntax / formScopeBoundary
if / elseif (cond) { ... } else { ... }Conditional branches.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.
while / forwhile (...) / for (...)Loops with break and continue.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.
return / break / continuereturn expr;Function return and loop control.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.

Expressions / Ausdrücke

NameSyntax / formScopeBoundary
arithmetic+ - * / %Numeric arithmetic.Signed integer values are 64-bit in the declared subset.
comparison / bitwise== != < <= > >= & | ^ << >>Comparisons and bitwise expressions.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.
sizeof / castssizeof(type), (type)exprSize queries and explicit conversions.Source-/syntax-backed subset; no whole-language or aggregate qualification claim.

PBXB64 is part of the PBX-Compiler package. Free for private use, cleanly licensed for business.