PBXA64 Compiler V8 Beta

PBXA64 is a native x64 Windows compiler that produces programs for two Windows targets. Select native x86/i686 PE32 output with --target=win32, or native x64 PE32+ output with --target=win64. Both targets use direct machine-code generation, COFF object emission, and the integrated PE linker.

Release: V8 Beta, digitally signed
Compiler host: Windows x64
Output targets: Windows x86/i686 PE32 and Windows x64 PE32+
Qualification: PowerBASIC, supported C, and assembler at -O0 and -O2 for both targets
Copyright: © 2026 Theo Gottwald / www.smart-package.com

Supported Language Frontends

LanguageExtension / FormDescription
PowerBASIC.pb, .bas, .pbiNative Windows BASIC with procedures, types, runtime commands, and embedded language blocks
C.c, #CCODETyped C11/C17/C23 subset with target-specific headers and runtime
Assembler.asm, #ASMIntel-syntax assembler for native x86 and x64 output

Compiler Pipeline

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

Quick Start

PBXA64.exe --target=win32 program.bas -o program32.exe
PBXA64.exe --target=win64 program.bas -o program64.exe

PBXA64.exe --target=win32 -O2 program.c -o program32.exe
PBXA64.exe --target=win64 -O2 program.c -o program64.exe

Documentation Sections