PBXB64 V18

PBXB64 V18 is a native Windows x64 toolchain with ten language frontends, EVAL, StringX and REGEX workflows, expanded bounded COBOL and FORTH subsets, bilingual help, and a signed release package.

PBXB64 Additions vs. Original PB

PBXB64 retains PowerBASIC-style development while adding a unified native pipeline for B64, C, ASM, COBOL, FORTH, Logo, PILOT, Rust, and SPR. V18 adds runtime expression evaluation, broader StringX and REGEX workflows, expanded bounded COBOL and FORTH subsets, and stronger selected runtime/H-Lib interoperability.

AreaOriginal PBPBXB64 V18
LanguagesPowerBASIC onlyPB/BASIC + B64 + C + ASM + COBOL + FORTH + Logo + PILOT + Rust + SPR NEW
BackendProprietaryCustom x64 IR + optimizer + assembler + linker NEW
DependenciesExternal toolsZero external dependencies NEW
ContainersNone22 native core families plus the Safe synchronized wrapper V15
Science typesNoneDEC128 (18-digit decimal), RATIONAL (exact arithmetic) NEW
RegexNoneBuilt-in REGEXPR 1.25 engine, captures, backreferences, and replacement V15
GUID/COMNoneGUID$(), CLSIDFROMPROGID$(), PROGIDFROMCLSID$() NEW
Wide integers64-bit max128 / 256 / 512-bit inline arithmetic NEW
GraphicsClassic PB graphicsLogo and BASIC turtle graphics NEW
Embedded automationNoneEmbedded SPR with !! and VIP. NEW
Digital signingNoneTheo Robert Gottwald (Authenticode/SHA-256) NEW
SigningNoneBuilt-in PE Authenticode signing NEW

What V18 Adds

PowerBASIC gains EVAL()/EVAL$(), expanded number and string conversion, practical StringX helpers, and updated REGEXPR access. The bounded COBOL frontend covers more linkage, arithmetic, OCCURS, STRING and UNSTRING scenarios; the tested native FORTH subset adds CATCH, THROW, EXECUTE, dictionary, memory, and mathematical words.

PowerBASIC - expressions and REGEX
value = EVAL("(10 - 4) * 2") text$ = BUILD$("value=", EVAL$("1 + 2")) item$ = REGEX$("([A-Z]+)-(\d+)", "ITEM-42", 2)
StringX - wildcard and replacement
IF LIKE$("Report-2026", "report-*") <> "" THEN PRINT REPLACES$("alpha-beta", "-", " ") END IF
COBOL - linkage subset
LINKAGE SECTION. 01 BUF PIC X(20). PROCEDURE DIVISION USING BUF. MOVE "from COBOL" TO BUF.
FORTH - exception handling
: may-fail 1 THROW ; ['] may-fail CATCH . CR

Feature Categories

Architecture

Ten language frontends, unified IR, custom x64 backend, built-in assembler, COFF writer, and PE32+ linker.

8 features
Explore →

Data Types

Standard PB types plus the complete UN family, native H-Lib data structures, DEC128, RATIONAL, COM types, and wide integers.

V15 expanded
Explore →

Control Flow

IF, SELECT CASE, FOR/NEXT (all types, negative STEP), WHILE, DO, GOSUB/RETURN, GOTO, ON GOTO, WITH, EXIT.

12 features
Explore →

H-Lib Containers

22 native core families plus Safe, with auto-init/final, method dispatch, subscripts, UDT payloads, BYVAL/BYREF, and SortUsing callbacks.

22 families
Explore →

Science & Math

DEC128, RATIONAL, REGEXPR, GUID, wide integers, hyperbolic trig, ATN2, HYPOT, the complete UN family, MAT, and LINALG.

12 features
Explore →

String Functions

REGEXPR 1.25 with REGEXPR, REGREPL, REGEX$, REGEXREPLACE$, captures, backreferences, binary-safe targets, plus ANSI and WSTRING operations.

Built-in REGEX engine
Explore →

Networking

TCP OPEN/CLOSE/SEND/RECV/LISTEN/ACCEPT, UDP, HOST ADDR/NAME, COMM serial ports. Real Win32 socket API.

6 features
Explore →

Graphics & GUI

GRAPHIC WINDOW, LINE, BOX, CIRCLE, GUI NEW, DIALOG, CONTROL, DISPLAY, FONT, MENU. Real GDI/GDI+.

14 features
Explore →

OOP & Classes

CLASS, INTERFACE, METHOD, PROPERTY, EVENTS FROM/END, RAISEEVENT, IMPLEMENTS, WITH. Full vtable dispatch.

8 features
Explore →

COM & Automation

VARIANT, OBJECT, GUID, CreateObject, IDispatch automation. Type-safe with automatic reference counting.

5 features
Explore →

Registry & System

REGISTER KEY/SET/GET/CLOSE/DELETE, COMM OPEN/CLOSE/SET/SEND/RECV, PROCESS PRIORITY, MOUSEPTR.

8 features
Explore →

Dialogs & Controls

DIALOG SHOW MODAL/END, CONTROL ADD, DISPLAY BROWSE/COLOR/FONT/OPENFILE/SAVEFILE, MENU, ACCEL.

10 features
Explore →

Clipboard & Shell

Clipboard GetText/SetText/Clear, SHELL, ENVIRON, COMMAND. Real Win32 clipboard API with atomic tests.

5 features
Explore →

Resource Compiler

#RESOURCE directive, .rc to .res pipeline, windres integration. Icons, dialogs, string tables, version info.

4 features
Explore →

V18 Language Frontends

Expanded bounded COBOL and FORTH subsets build on the ten-frontend pipeline, Logo/BASIC turtle graphics, embedded SPR, and typed frontend bridges.

V18 overview →

File I/O

OPEN, CLOSE, PRINT#, LINE INPUT#, binary access, and runtime file behavior.

Explore →

Threading

Thread creation, synchronization-oriented helpers, and concurrent runtime surfaces.

Explore →

C17 Frontend

Focused C modules compiled through the PBXB64 x64 backend.

Explore →

PILOT Language

Compact teaching and automation language support in the PBXB64 toolchain.

Explore →

V18 Release Scope

The signed V18 bundle ships 399 tested examples, 354 qualified PowerBASIC include files, and 34 C17 headers including H-Lib.

10Language Frontends
399Tested Examples
354Qualified PB Includes
34C17 Headers