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
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
| Language | Extension / Form | Description |
|---|---|---|
| PowerBASIC | .pb, .bas, .pbi | Native Windows BASIC with procedures, types, runtime commands, and embedded language blocks |
| C | .c, #CCODE | Typed C11/C17/C23 subset with target-specific headers and runtime |
| Assembler | .asm, #ASM | Intel-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
- Command-Line Options - Target selection and compiler flags
- PowerBASIC Language Reference - Supported syntax
- Preprocessor Directives - #COMPILE, #INCLUDE, #DIM ALL
- Statements - Control flow, I/O, and assignments
- Types & Variables - Data types, arrays, and strings
- Compatibility Table - Feature comparison
- Example Programs - Sample code