PBXB64 - Compiler Werkstatt
V14 — Native x86-64 Multi-Frontend Compiler

PBXB64 V14 BETA

PBXB64 is a native Windows compiler written in pure C17. 6+ languagesB64, BASIC, C, ASM, PILOT and more — flow through a single IR pipeline to native PE32+. No external dependencies. Built-in assembler, linker, and x64 backend. 1838/1846 tests passed, 8 expected fails, 0 unexpected failures.

1838/1846 Tests 6+ Language Frontends ~1.01 MB Binary 8-Stage Pipeline Win64 Native Signed

Package: ~62 MB (ZIP) — compiler, CHM (EN+DE), 1233 .pbi includes, 1945+ samples

V14 digitally signed — Certum Code Signing CA

1838/1846 tests passing

19 Feature Categories

Explore every capability - from data types to networking, graphics to inline assembly.

Explore All Features
6+Language frontends: B64, BASIC, C, ASM, PILOT and more
1838/1846Tests passed — 8 expected fails, 0 unexpected
8Stage pipeline: Lex → Parse → IR → Opt → CodeGen → Asm → COFF → PE
~1 MBfull toolchain in a single binary

Why PBXB64?

True native x64 code

No GCC, no LLVM, no C runtime dependency. The compiler emits x64 machine code directly - from source to PE32+ in a single pass. Maximum control, minimum binary size.

Multi-frontend: 6+ languages

Write code in B64, PowerBASIC, C, PILOT, x64 assembly and more - all in the same project. Mix languages at IR level and emit a single PE.

Custom x64 backend

Direct instruction selection, register allocation, peephole optimization and PE32+ image generation - all written in C17. No external dependencies.

Custom PE32+ linker

Built-in linker processes COFF objects, import tables, relocations, TLS and exception data. Full PE32+ compatibility from Windows XP through Windows 11.

Quick Examples

Same algorithm - sum 1 to 5 - in every frontend.

B64

fn main(): i64 { let sum: i64 = 0; let i: i64 = 1; while i <= 5 { sum = sum + i; i = i + 1; } return sum; // 15 }

PowerBASIC

FUNCTION PBMAIN() AS LONG LOCAL sum AS LONG LOCAL i AS LONG sum = 0 FOR i = 1 TO 5 sum = sum + i NEXT FUNCTION = sum ' = 15 END FUNCTION

C

#include <stdio.h> int main(void) { int sum = 0; for (int i = 1; i <= 5; i++) { sum += i; } return sum; /* 15 */ }

LOGO

MAKE "sum 0 MAKE "i 1 REPEAT 5 [ MAKE "sum :sum + :i MAKE "i :i + 1 ] PRINT :sum

FORTH

5 4 + 3 + 2 + 1 + . \ 15

SPR

VAR.$$SUM=0 FOR.$$III|1|5|1 VIC.$$SUM|$$III NEX. ENR.

ASM

FUNCTION PBMAIN() AS LONG LOCAL sum AS LONG #ASM xor eax, eax ; sum = 0 mov ecx, 5 ; counter = 5 add_loop: add eax, ecx ; sum += counter dec ecx ; counter-- jnz add_loop ; loop until 0 mov %sum, eax ; store result #ENDASM FUNCTION = sum ' = 15 END FUNCTION

PILOT

T: "Sum 1 to 5" C: #sum=1+2+3+4+5 E:

19 Feature Categories

Explore every feature in detail with code samples and explanations.

Architecture

6+-language frontend, unified IR, custom x64 backend, built-in assembler, COFF writer, PE32+ linker.

Explore →

Data Types

26 types including DEC128, RATIONAL, VARIANT, OBJECT, GUID, wide integers.

Explore →

Containers

22 native container families with auto-init/final, method dispatch, UDT payloads.

Explore →

Science & Math

80+ functions: ATN2, HYPOT, DET, DOT, NORM, RNGSEED, RNDGAUSS, DEC128.

Explore →

Control Flow

FOR (7 types, negative STEP), WHILE, SELECT CASE, GOSUB/RETURN, ON KEY CALL.

Explore →

Networking

TCP, UDP, COMM serial, HOST ADDR/NAME. Real Win32 socket API.

Explore →

Graphics & GUI

GRAPHIC WINDOW, LINE, BOX, GUI NEW, DIALOG, CONTROL, DISPLAY.

Explore →

Inline Assembly

x64 assembly directly in PB and B64. Full instruction set, registers, memory addressing.

Explore →

B64 Language

C-like systems language with types, structs, arrays, pointers, inline asm.

Explore →

Downloads per Day

Daily download statistics for all products in the current month.