Home › Cross-Language Reference › General Reference PBXB64 Compiler Help

PBXB64 - Language Frontends

PBXB64 V15 provides ten registered language frontends that compile through the unified IR and x64 backend. Qualification differs by frontend; each linked reference states its tested boundary.

Chapter: General Reference

Description

PBXB64 V15 provides ten registered language frontends that compile through the unified IR and x64 backend. Qualification differs by frontend; each linked reference states its tested boundary.

B64 (Primary Systems Language)

C-like syntax with manual memory management, explicit pointers, and first-class structs. Designed for systems programming where performance and control are paramount.

fn main(): i32 {
    let x: i32 = 42;
    let p: *i32 = &x;
    *p = 100;
    return x;
}

BASIC (PowerBASIC-Compatible)

Modernized PowerBASIC dialect with V8 string lifetime management, PRINT separator semantics, and native WinAPI integration.

FUNCTION PBMAIN() AS LONG
    LOCAL s AS STRING
    s = "Hello from PBXB64"
    PRINT s
    FUNCTION = 0
END FUNCTION

C Subset (C17 with Preprocessor)

Controlled C17 subset featuring full preprocessor, switch/case/goto, ternary operator, and 26 standard library headers.

#include <stdio.h>
int main(void) {
    printf("Hello from C\n");
    return 0;
}

Assembly (Native x64)

Intel-syntax assembler with direct COFF/PE output. Supports .asm/.s files and integrates seamlessly with high-level frontends.

section .text
global main
main:
    mov eax, 42
    ret

PILOT (Educational)

Compatibility-qualified educational language with executable input, output, arithmetic, guards, jumps, nested subroutines, sound, labels, and the bidirectional V: PowerBASIC-global bridge. File extension: .pil.

T: "Hello from PILOT!"
C: #A = 42
C: $MSG = "Answer"
Y: T: $MSG
E:

PILOT Reference →

Forth

Native standalone and embedded Forth subset with 174 source-registered primitives, structured control, file and memory words, floating point, exceptions, execution tokens, and PB bridges.

Forth Reference →

COBOL

Bounded native COBOL frontend with exact wide numeric data, selected procedure/data forms, and linkage/call interoperability.

COBOL Reference →

Rust

Qualified V14-compatible Rust subset covering the documented fixed-data, function, closure, extern/static, lifetime, and worker forms.

Rust Reference →

SPR (MiniRobot)

Runtime-routed command frontend with $$ variables and the VIP. bridge to PB QUAD and STRING globals.

SPR Reference →

Logo

Object-contract-qualified Logo/turtle frontend covering the complete 62-topic V14 command set.

Logo Reference →

Cross-Language Linking: Frontends share the compiler IR and native object/link pipeline. Only bridge and ABI forms documented by the individual frontend are contractual.