CX+AI

Documentation

The 25 reference manuals, in full. The same set the release bundles ship offline.

Every page here is generated from the thing it describes — the manuals from their markdown sources, the builtins reference straight from the C headers. A manual that names a builtin which does not exist is refused publication rather than quietly shipped, and every taught cx snippet is run through the compiler before it can reach this page.

Click a card — it leaves the grid and opens here. Esc or the backdrop sends it home.

Start here

The short ones. Enough to write a program today.

01 / guide

Getting Started with CX+AI

Install, first program, and the same program on both backends

click to openfull page ↗

Loading the manual…

Open the full page

02 / guide

CX+AI with an AI Assistant

Which tool, which prompts, and what to hand the assistant first

click to openfull page ↗

Loading the manual…

Open the full page

03 / guide

CX+AI for AIs

Writing CX when your instinct writes C — the conversion pass, in priority order

click to openfull page ↗

Loading the manual…

Open the full page

04 / guide

CX+AI Cheatsheet

Everything that trips people up, on one page

click to openfull page ↗

Loading the manual…

Open the full page

05 / guide

CX+AI in 30 Lines

The smallest useful summary of CX+AI

click to openfull page ↗

Loading the manual…

Open the full page

06 / guide

CX+AI — the AI Surface

AI integration: providers, aifunc, markers, codeswap

click to openfull page ↗

Loading the manual…

Open the full page

One task, one page

Short answers to the things people do first.

01 / guide

Read some JSON and use it

A document in your source stays a document — no parse step, no conversion calls

click to openfull page ↗

Loading the manual…

Open the full page

02 / guide

Ask a model, then act on the answer

The reply is a string — test it, do not assume it

click to openfull page ↗

Loading the manual…

Open the full page

03 / guide

Put something on the screen

A window, a loop and something drawn in it, in eight lines

click to openfull page ↗

Loading the manual…

Open the full page

04 / guide

Work with text

Find, cut, replace, split — and the two that catch everyone

click to openfull page ↗

Loading the manual…

Open the full page

05 / guide

Files in, files out

Read a file, write a file, and what changes in a browser tab

click to openfull page ↗

Loading the manual…

Open the full page

06 / guide

Rules that watch your data

Behaviour as text, checked at build, changed while it runs

click to openfull page ↗

Loading the manual…

Open the full page

07 / guide

Documents: one door in, one door out

JSON, XML, CSV, HTML, email, images, bytes - one parseDoc, one exportDoc

click to openfull page ↗

Loading the manual…

Open the full page

Coming from another language

What carries over, what replaces what, and what is not here.

01 / guide

CX+AI for C Programmers

What carries over, what is new, and what is different

click to openfull page ↗

Loading the manual…

Open the full page

02 / guide

CX+AI for Python Programmers

What transfers, what the type suffixes replace, and where C's arithmetic shows

click to openfull page ↗

Loading the manual…

Open the full page

03 / guide

CX+AI for JavaScript Programmers

JSON you already think in, one equality operator, and no event loop

click to openfull page ↗

Loading the manual…

Open the full page

04 / guide

CX+AI for PureBasic Programmers

The lineage, what replaces what, and what is not here

click to openfull page ↗

Loading the manual…

Open the full page

The rest of the manuals

The full set, for when you need the detail.

01 / manual

CX+AI Language Reference

The language, end to end

click to openfull page ↗

Loading the manual…

Open the full page

02 / manual

CX+AI Coercion Guide

Beginner → advanced: how a value becomes the type you asked for

click to openfull page ↗

Loading the manual…

Open the full page

03 / manual

CX+AI Pragma Reference

Every pragma and what it changes

click to openfull page ↗

Loading the manual…

Open the full page

04 / manual

CX+AI Automation & Rules

Entities, C-rules, events, and the invisible loop

click to openfull page ↗

Loading the manual…

Open the full page

05 / manual

CX+AI by Example

Real programs, and the output they really produce

click to openfull page ↗

Loading the manual…

Open the full page

06 / manual

CX+AI FAQ

Questions actually asked, and the answers actually given

click to openfull page ↗

Loading the manual…

Open the full page

07 / manual

CX+AI Tools — forge and the screen

The two programs this project builds and runs itself with

click to openfull page ↗

Loading the manual…

Open the full page

08 / reference

CX+AI Builtins Reference

Every builtin, drawn from the source

click to openfull page ↗

Loading the manual…

Open the full page

Every builtin, by family

700 of them, in 37 families under 13 groups. A tile opens that family in the reference.

These pages carry no version number, on purpose: they track the repository rather than any one release. For a versioned snapshot, the download bundle ships this same set as offline HTML. You can also run CX+AI in your browser without installing anything.