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 overviewDeutschTypes / Typen
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| i64 / f64 / bool | let name: i64|f64|bool | Scalar values and typed locals/globals. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| pointers | T* / *T | Integer and typed pointers with dereference and pointer comparisons. | Self-referential struct pointers are unsupported. |
| struct / typedef | struct Name { ... }; typedef ... | Records and named aliases. | Declaration must precede use unless extern prototype supplies it. |
Functions / Funktionen
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| fn | fn name(args) -> type { ... } | Functions with fixed prototypes and return values. | Extern declarations are required for forward calls. |
| extern | extern fn name(...); | Declares an external function prototype. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
Control flow / Kontrollfluss
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| if / else | if (cond) { ... } else { ... } | Conditional branches. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| while / for | while (...) / for (...) | Loops with break and continue. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| return / break / continue | return expr; | Function return and loop control. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
Expressions / Ausdrücke
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| 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 / casts | sizeof(type), (type)expr | Size 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.