Compiler Workshop
Native 32-bit and 64-bit Compilers for Windows
A Windows compiler workshop for PowerBASIC-style, C, B64, PILOT, and ASM projects that produce real native executables. PBXB64 remains the primary product; ScharffBasic V1 Beta adds a pragmatic 32-bit migration path with robust diagnostics and new language features.
Pure C17 toolchain
~245 source files
Unified IR
x64 backend
Custom linker
Self-hosted
Products
Seven Compilers, Clear Use Profiles
PBXB64
PBXB64 V18 is a signed native Windows x64 compiler with ten frontends, EVAL/EVAL$, StringX and REGEX processing, expanded COBOL and FORTH paths, an integrated linker and runtime, bilingual help, 400 tested examples, 354 qualified includes, and 34 C17 headers.
Details
ScharffBasic
Mostly PowerBASIC-compatible native 32-bit compiler with additional commands and more robust error diagnostics. Existing PowerBASIC SLLs must be rebuilt from their original PB source with ScharffBasic.
Beta and 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
A native x64 compiler that generates PowerBASIC, typed C, and assembler programs for Win32/x86 PE32 and Win64/x64 PE32+ from one toolchain.
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
Other Downloads
Finished projects with source code
M2 Modula-2 Toolchain
Self-contained ISO Modula-2 subset compiler for native i386 PE32 Windows programs, created roughly 70 % autonomously in a PlanJinn test with AgnesAI. Source code and tests included, CC0.
Details
Other Downloads collection
Not every result of the workshop becomes an active product. This collection holds finished, tested projects that we release including the complete source code — with no further development or support. If you want to build on one, everything you need ships with it.
Open the collection
C17 x64-line Architecture
Shared Stack for PBXB64, PBXA64, and CompilerX64
As a PowerBASIC-style 32-bit alternative, ScharffBasic uses its own x86 compiler and runtime line; PBXC64 likewise has a separate new platform architecture.
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.
Download Activity
Daily activity for every offered download over the rolling last 28 days. Each downloadable file has its own persistent color.