CompilerX32 v0.1.0 ALPHA
Multi-Language Frontend — Unified IR — Native x86
A native x86-32 compiler for PowerBASIC-compatible BASIC with a complete multi-pass preprocessor (macros, equates, conditionals, MACROTEMP). Four syntax worlds — BASIC, C, ASM, PILOT — coexist in the same source file through a language-switching stack. No GCC. No LLVM. Just pure native machine code.
PBWin host compile: 1,118,208 bytes
Multi-pass preprocessor (6 modules)
Macro expansion with MACROTEMP
Built-in macros (__LINE__, __COUNTER__, ...)
C-preprocessor features (##, #, #undef)
635 PB11 keywords in lexer
Self-hosting: in progress
About CompilerX32
CompilerX32 is a from-scratch native x86-32 compiler featuring a complete multi-pass preprocessor with stability loop, macro expansion with \1..\16 and MACROTEMP, 635 PB11 keywords, a 7-stage compilation pipeline, multi-language switching stack (BASIC, C, ASM, PILOT), and self-hosting Gen1 compiler producing 1.5 MB executables.
Alpha Development
CompilerX32 is in active development. The complete multi-pass preprocessor is implemented and compiles cleanly with PBWin. The self-hosting compiler, multi-language test suite, and documentation will be available for download with the first public alpha release.