PBXA64 Compiler V25

PBXA64 is a native x86-64 compiler for BASIC source code, producing Windows PE32+ console executables with direct machine code generation, COFF object emission, and PE linking. V25 adds memory commands, binary string packing, and string-array utilities.

Version: 0.25.0-memory-string-commands-v25
Target: Windows x64 PE32+ console executables
Tests: 83/83 passing
Copyright: © 2026 Theo Gottwald / www.smart-package.com

Supported Language Frontends

LanguageExtensionDescription
BASIC.pb, .bas, .pbiBASIC dialect compatible with popular Windows BASIC compilers
MGC.mgcC-like intermediate language for IR testing
PILOT.pilot, .pil, .pcode, #PCODEEducational language (Atari-style), standalone + embedded

Compiler Pipeline

Source -> Preprocessor -> Lexer -> Parser -> AST
    -> Semantic Analysis -> IR Lowering -> Optimization
    -> x64 CodeGen -> Assembler -> COFF -> Linker -> PE32+

Quick Start

pbxa64 --help                           Show all options
pbxa64 hello.pb -o hello.exe            Compile to executable
pbxa64 -S program.pb -o program.asm     Emit assembly listing
pbxa64 --dump-tokens program.pb         Debug token stream

Documentation Sections