PBXB64 - Compiler Workshop
Download details — Native Windows x64 compiler

PBXB64 Download details RELEASE Native 64-bit compiler for PowerBASIC-style BASIC

Write the BASIC you know, get a native Windows x64 EXE in about half a second. One compiler file, own assembler, own linker, no GCC, no LLVM, no Visual Studio.

PBXB64 is a native Windows x64 compiler written in C17. It reads PowerBASIC-compatible BASIC and writes PE32+ programs; eight further frontends (C, B64, COBOL, FORTH, Logo, PILOT, Rust, SPR) and an inline x64 assembler share the same toolchain. The V10 package adds 218 C17 headers, H-Lib, reference help in German, English, Spanish and French, and HelpSamples.chm alongside the source examples.

Download (V10 package) Start in 3 minutes PowerBASIC migration
PBXB64 in the V10 package 9 frontends + inline ASM Over 6,400 example files Win64 Native Windows 10 x64 or newer One compiler file

What Distribution V10 Updates

PBXB64 24.0.0-V24 ships in the shared PBX-Compiler V10 package (PBX-Basic_10.zip). The V10 refresh brings every tool up to date: PBX Editor 0.3.0.35, PBXA32 V24, PBXA64 and PBXC64 RC50 – all digitally signed. PBXB64 brings the new integer types (INTEGER is now 2 bytes, SBYTE and SDWORD, INTn/UINTn up to 512 bits, Windows SDK aliases; the package includes MIGRATION_V23_INTEGER_TYPES.md) and adds the current integration fixes, with reference help in four languages. The points below arrived with V21 or later and still apply in V24. The included sources span ten folders (BASIC, B64, C, ASM, COBOL, FORTH, Logo, PILOT, Rust, SPR); this does not imply complete parity between the frontends.

V10 editor and toolchain: Editor 0.3.0.35 with refreshed help. Source stepping with breakpoints is available for PBXB64 and ScharffBASIC. The remaining components – PBXA32 V24, PBXA64 V10 and PBXC64 RC50 – ship with updated help. All tools are digitally signed.

New in PBXB64: fully validated and self-compiling – evidence of maturity and stability. Plus more precise error messages with file and line information, reliable detection of invalid constant writes and improved code generation.

Help included: every compiler ships with its latest help file; the PBXB64 reference is available in German, English, Spanish and French.

218 canonical C17 headers
The standard headers are built into PBXB64.exe; no extra header folder is needed. The 218 current headers are also shipped under include/c17; the existing c17_headers reference folder is retained.
Corrected varargs headers
V21 fixed the stale packaging of stdarg.h: va_start and va_arg use the canonical compiler builtins instead of a null pointer.
One compiler, embedded runtime
The frontend pipeline, x64 assembler, linker and H-Lib runtime are embedded in PBXB64.exe. Compiling and linking require no external toolchain.
Source examples and sample help
Examples contains over 6,400 files in ten folders, 863 of them BASIC programs. HelpSamples.chm complements these sources as a separate reference book.
Science & mathematics
Unary operators, number theory, special functions, probability, polynomials, exact decimal, and complex numbers through the PB surface.
PowerBASIC communication stack
TCP OPEN SERVER/CLIENT, TCP SEND/RECV, UDP OPEN/SEND/RECV, NOTIFY events with WSAAsyncSelect, HOST ADDR/NAME, and PB file-number tracking.
Reference help in four languages
The latest available PBXB64_Help_DE.chm, PBXB64_Help_EN.chm, PBXB64_Help_ES.chm and PBXB64_Help_FR.chm are included in the V10 package.
Compiler and package versions
Distribution V10, PBXB64 V24. The executable is digitally signed; included checksums establish file identity.
Explore All Features
PBXB64 in the V10 package
Download Package V10 (ZIP) PBX-Basic_10.zip (about 355 MB) · V10 SHA-256 - All-in-One: PBXA32, PBXA64, PBXB64, PBXC64, ScharffBasic and PBX Editor Previous bundles: V9 · V8 · V7 · V6 · V5 · V4 · V2 · V1 (optional) Reference CHM (EN) The online help was removed — the V10 package includes the latest available reference help (5 October artifacts) in DE, EN, ES and FR plus a separate sample help book. All Features Bundle downloads: --

PBX-Compiler V10 package with PBXA32, PBXA64, PBXB64, PBXC64, ScharffBasic and PBX Editor; four PBXB64 reference helps, sample CHM, over 6,400 example files and 218 C17 headers.

All EXEs are digitally signed; SHA-256 checksums are included.

Release package prepared for native Windows x64 development

At a glance

64-bit PE32+Native target
about 0.4 sCompile + link
75 KBHello world EXE
1 file, 10 MBCompiler

Measured on one Windows 11 PC, 2026-10-05 (19 compiles, 0.36-0.46 s each).

The machine plate

Why PBXB64?

True native x64 code

No GCC, no LLVM, no Visual Studio. One command, one tool: PBXB64 turns source into a PE32+ EXE in about 0.4 s (measured). There is no extra runtime DLL to ship: generated EXEs use only Windows system DLLs such as ucrtbase.dll and kernel32.dll.

Nine frontends, one toolchain

PowerBASIC-compatible BASIC is the flagship and the C17 frontend is ready to use. B64, PILOT, COBOL, FORTH, Logo, Rust and SPR are included as experimental frontends. Inline assembler and X-Code are part of the BASIC frontend.

Own x64 backend

Instruction selection, register allocation, peephole optimization, assembler and PE32+ image generation are part of the compiler itself, which is written in C17.

Own PE32+ linker

The built-in linker processes COFF objects, import tables, relocations, TLS and exception data. Generated programs target Windows 10 x64 or newer (documented requirement).

The blueprint

What it is - and what it is not

PBXB64 is a compiler. It reads PowerBASIC-compatible BASIC source and writes a native Windows x64 executable (or DLL). It is not an interpreter and not a virtual machine. It is not a 100 % clone of PowerBASIC: LONG is 64-bit and INTEGER is 16-bit (see the migration table).

FrontendMaturityKey supported scopeLimits / not supported
PowerBASICproductionFlagship native Windows x64 compilation; functions, types, arrays, strings, control flow and custom compile-time directives/forms.Full PB11 compatibility is not claimed; compile-time extensions have a limited surface.
CboundedReference frontend for native Windows x64 EXE/DLLs; documented C89–C2y modes, preprocessing, Windows ABI and selected GCC/MSVC extensions.Full standards conformance is not claimed; long double is 64-bit, _BitInt reaches 128 bits, and some language/assembler/linker forms are unsupported.
B64experimentalFunctions, prototypes, pointers, structures, fixed arrays, loops and numeric expressions.Integer spellings still use signed 64-bit values; self-referential structure pointers are unsupported.
PILOTexperimentalText, input, calculations, matching, jumps and subroutines with numeric QUAD binding.PBXB64 PILOT dialect with bounded input, expression and stack capacities; shared return stack is not thread-safe.
COBOLexperimentalNumeric processing, CALL/LINKAGE and sequential files; selected JSON/XML, allocation and NATIONAL operations.Not full ISO COBOL; SQL/CICS/MQ unsupported, dynamic CALL is module-known only, and JSON/XML shapes are limited.
ForthexperimentalStack operations, integer arithmetic, words, loops, byte I/O, strings and numeric PB embedding.Not full Forth 2012; BASE/HEX and other words are absent, and stack misuse is not fully guarded.
LogoexperimentalProcedures, recursion, loops, words and lists; console output and bitmap turtle operations.Binary64 numbers and bounded primitives/capacities; READLIST/MAP unsupported, with mixed-list/host limits remaining.
RustexperimentalModules, structures, enums, generics, traits, closures, selected macros, Vec/Box/Option/Result and C FFI.No complete borrow/lifetime checker, Cargo, full standard library, procedural macros or unwinding.
SPR / MiniRobotexperimentalExisting commands plus 73 selected new roots; selected bitmap, queue, process, registry and Windows helpers.60 roots remain unfinished; no MiniRobot comparison qualification. SAP and SPR Browser are deferred, with many selectors/providers open.

Maturity states come from pipeline_frontend_registry.c and the current restart handoff.

Details

Get started in 3 minutes

The complete hello-world source, command line, output and historical timing note are preserved on the detail page.

See Details
The conversion kit

Coming from PowerBASIC - 64-bit migration

The complete documentation-backed checklist now lives on its own detail page. It covers integer widths, pointers, APIs, memory, includes and concrete migration patterns.

See Details Deutsche Fassung

Current release: PBXB64.

Details

Verified examples and measured outputs

The machine-room examples, command lines, output logs and historical measurement notes are preserved on this detail page.

See Details
Additional dialects and targeted customization

X-Code, #OVERRIDE & Preprocessor

X-Code

Separate typed assembler dialect: virtual registers, X. commands, register allocation and APX modes. #XCODE … #ENDX accesses BASIC variables and bridge-imported storage. Additional to the nine frontends and the inline assembler; not another standalone file frontend.

View examples and details

#OVERRIDE

Replace registered BASIC runtime functions with typed custom implementations. Distinct from the OVERRIDE method keyword and macro text substitution.

View syntax and example

BASIC preprocessor

#INCLUDE, #DEFINE, conditional #IF branches and #REPEAT before compilation. A small example checks their combined effect against result 42.

View checked example

The X-Code, #OVERRIDE and preprocessor examples were compiled and run. APX: with APX=AUTO or APX=EMULATE, X-Code translates APX instructions into ordinary x64 instructions, so the APX example runs on any x64 CPU (checked on a processor without APX). Only APX=NATIVE emits real APX encoding and needs an APX-capable processor. The detail page shows both modes.

Details

Frontend quick examples

The complete sum-to-five examples for all nine frontends remain on the detail page, including source snippets and the documented maturity boundary.

See Details
Details

Cross-frontend bridge examples

The full BRIDGE EXPORT/IMPORT source pairs and historical output remain on a dedicated bridge detail page.

See Details

9 Highlights from the Feature Pages

Explore the details with code samples and explanations. The code blocks on the feature pages are compiled and runnable.

Architecture

Nine frontends, shared intermediate representation, own x64 backend, built-in assembler, COFF writer, and PE32+ linker.

Explore →

Data Types

Standard PowerBASIC types, SBYTE/SDWORD, INT8..INT512 and UINT8..UINT512, the UN family, native H-Lib types, and COM types.

Explore →

Containers

H-Lib native containers: hash tables, growable arrays, sorting with a code pointer and FOR EACH.

Explore →

Science & Math

Number theory, special functions, probability, polynomials, exact decimals, and complex numbers.

Explore →

Control Flow

FOR, WHILE, DO/LOOP, SELECT CASE, GOSUB/RETURN.

Explore →

Networking

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

Explore →

Graphics & GUI

GRAPHIC windows and DDT dialogs (DIALOG, CONTROL). DDT is documented as partially implemented.

Explore →

Inline Assembly

x64 assembly directly in BASIC: #ASM and #ACODE blocks with variable bindings.

Explore →

B64 dialect

C-like syntax with types, structs, arrays and pointers (experimental frontend).

Explore →
The toolshop and the workshop manual

Tooling, help and examples

ItemWhat you get
PBX-EditorShipped in the V10 package (see the README in PBX-Editor\).
HelpFour CHM references (DE, EN, ES, FR, about 52 MB each) plus HelpSamples.chm.
ExamplesOver 6,400 files, 863 of them BASIC programs.
Debug infoPDB output via -g --pdb file.pdb (the file is written; debugger use not tested).
ResourcesBuilt-in .rc compiler (STRINGTABLE, VERSIONINFO; sample 18).
DLLs#COMPILE DLL with EXPORT (sample 17).
Other products in the packagePBXA32, PBXA64, PBXC64 (C17) and ScharffBasic.
Reference CHM (EN) All feature pages
Practical notes

Know before you build

Free for private use, cleanly licensed for business

Private, non-commercial use is free. Business, team, and commercial usage goes through Smart Package Robot or by email to info@it-berater.org.

Redistribution of the original, unmodified package is allowed (LICENSE.txt). Download: see the V10 package panel at the top of this page (PBXB64 in the V10 package).

What next

Read up, try it, get help: the feature reference and the migration checklist show what PBXB64 can do. Rather not write programs yourself? PlanJinn plans a Windows program from a description and builds it with PBXB64. For grown PowerBASIC code or custom compiler extensions we help inside your project – the intro call (20 min) is free.

Download V10 package (about 355 MB) Help with your project License

Download Activity

Daily activity for every offered download over the rolling last 28 days. Each downloadable file has its own persistent color.

Details

Command atlas and test vocabulary

The full command-family atlas and its historical vocabulary remain on a dedicated reference page.

See Details

Compiler versions and package contents: see the download page and the information supplied in the downloaded package.