Compiler Workshop
Native x86-64 Compilers for Windows
A Windows compiler workshop for PowerBASIC-style, C, B64, PILOT, and ASM projects that produce real native executables. The technical foundation remains fully accessible: pure C17 implementation, multiple language frontends, unified IR, optimizer, x64 backend, and native PE output.
Pure C17 toolchain
~245 source files
Unified IR
x64 backend
Custom linker
Self-hosted
Products
Six Compilers, One Runtime
PBXB64
PBXB64 V14 targets PowerBASIC-style Windows x64 development and also supports B64, C, ASM, and PILOT frontends. It combines the compiler, assembler, linker, help, examples, and compatibility work in one release package.
Details
PBXC64
New native C17 compiler platform with separated IR stages, its own COFF/PE writer, ASMX64, and selectable PowerBASIC compatibility modes.
Status and details
PBXA64
64-bit PowerBASIC-syntax compiler targeting x64 Windows via B20 compatibility backend. Full PB language support with modern x64 codegen.
Details
PBXA32
32-bit PowerBASIC-syntax compiler targeting x86 Windows. Maintains legacy compatibility while delivering modern optimizations.
Details
CompilerX64
Multi-language compiler toolchain in C17 targeting 64-bit Windows. C, B64, and PILOT frontends with unified backend.
Details
CompilerX32
32-bit multi-language compiler. C frontend with x86 backend, cdecl RTL convention, O(n²) assembler optimization resolved.
Details
Shared Architecture
Every Compiler Uses the Same Stack
Frontend
Parser -> AST -> Semantic analysis. Multiple frontends (PB, B64, C, ASM, PILOT) feed into a single unified IR.
Middleend
IR builder -> Optimizer (peephole, dead code elimination, register allocation) -> CFG analysis -> Dominance trees.
Backend
x64 instruction selection (ISel) -> Assembly printer -> PE32+ emitter -> Custom linker -> Signed executable.
Runtime
Self-contained C runtime library. String, file I/O, network, threading, containers, math - all in one binary.