Clone and build
The fullest working build on the public main branch is pro-md — the core
engine plus LMDB indexing and the Turbo Vision UI. Use it if you want a working
database runtime.
git clone https://github.com/deraldg/x64base.git
cd x64base
cmake --preset pro-md
cmake --build --preset pro-md-Release --target dottalkpp
Configure-preset and build-preset names differ: pro-md configures,
pro-md-Release builds. For the smallest build instead, use windows-core
(or core-vcpkg on Linux, WSL, or macOS) — see
Installation.
Build the sample databases
A fresh clone has no sample data until you build it. One script does the whole job and is self-contained — it resets, extracts the canonical archive, and builds all three DBF lanes (MS-DOS, VFP, x64) plus the x64 LMDB indexes:
.\dottalkpp\scripts\mcc\build_mcc_demo_bases.ps1
It warns before overwriting and waits for you to type YES.
Run and query
.\datarun.ps1
datarun.ps1 stages the freshly built dottalkpp.exe and its runtime DLLs into
dottalkpp\bin, then starts the shell. Set the lane and query:
DO X64 && sets the DBF, INDEXES and LMDB paths to the x64 lane
WORKSPACE OPEN DBF CDX && opens every x64 table with its CDX index set (LMDB-backed)
SELECT STUDENTS
SET ORDER TO TAG LNAME
SMARTLIST 10
Run DO X64 first: the default DBF path is data\dbf, not a lane. DO X64
points the DBF, index, and LMDB paths at the x64 lane (DO X32 and DO VFP
select the other flavors). WORKSPACE OPEN DBF CDX opens every table in the lane
with its CDX index set, whose tags are LMDB subindexes, and SELECT STUDENTS
makes STUDENTS current. Ordered by LNAME, record one reads Anderson.
WORKSPACE also restores saved work: WORKSPACE LOAD <name> reopens a saved set of
tables, indexes and relations, such as cascade_all for the Cascade ERP sample
(all 43 tables and 58 relations).
Use HELP followed by a command name for the current command contract. Mutation
commands such as REPLACE, CALCWRITE, DELETE, COMMIT, and PACK should be
exercised only against disposable data — never the sample foundation.
Reality check
mainis the canonical public source.- A green CI run proves only the selected build/test profiles.
- On x64, ordered reads are LMDB-backed. The shipped
.cnx/.cdxcontainers let you open and read a table, butSET ORDER TO TAGon x64 needs the LMDB environments the databuild above generates (they are derived, not shipped). COMMITis a best-effort buffer apply operation, not an atomic transaction across DBF, memo, and index stores.
See Installation, Current Project Truth, and Downloads.