PBXB64 Compiler V9 Documentation

Version: 0.9.0-native (C17 Hardening)
Target: Windows x64 PE32+ executables
Tests: 72/72 smoke tests passing
License: Free for private use
Copyright: © 2026 Theo Gottwald / www.smart-package.com

Language Frontends

LanguageExtensionsStatusDescription
B64.b64ActiveC-like systems language. Primary frontend with full IR integration.
BASIC.pb, .bas, .pbaGrowingPowerBASIC-compatible dialect. V8 supports PRINT, STRING, control flow, WinAPI calls.
C Subset.cGrowingControlled C17 subset. V9 adds full preprocessor hardening, function pointers, runtime aliases.
Assembly.asm, .sActiveNative x64 assembler with Intel syntax. Direct COFF/PE output.
PILOT.pilActiveEducational language (Atari-style). T:, A:, M:, Y:, N:, C:, J:, U:, E:, R:, S:, D: commands.

Compiler Pipeline

Source (.b64/.pb/.c/.asm/.pil)
  |-> Per-language Lexer + Parser -> AST
  |-> IR Builder (unified intermediate representation)
  |-> Middle-end (CFG, dominance, pass manager, optimizer)
  |-> x64 CodeGen (register allocation, instruction selection)
  |-> Assembler (x64 encoding, COFF emission)
  |-> PE Linker (import table, relocations, PE32+ image)

V9 Highlights

Documentation Sections