#Release notes
What changed in each release of the elucid8 command, newest first. Download it from the site’s Download page, for macOS (Apple silicon and Intel), Linux (x86-64 and ARM64) and Windows (x86-64). To see which version you have:
./elucid8 --version
Every release gives the same answers as the playground for the same program and data, for every program the release runs; what changes is what the command can do, and how fast. The command reference describes the current release.
The times in these notes were measured on one machine, an Apple M5 Max (18 cores, 64 GB) under macOS, on the workloads named with them (mostly the examples at full size), each against the code before the change; they show how a release changed, not what to expect on your computer.
#Unreleased
Nothing yet.
#0.26.0 (23 November 2026)
What changes from 0.25.0:
- Where data end, and missing data (the same in both engines, the playground, the MCP tools and the Python package):
- Every dimension of an input says its extent:
t : inf(the data decide where it ends),t : 10ort : 0 .. 9(a fixed size), orf : {"x", "y"}(a list). A dimension named alone (input("pen", t, f : {…})) is refused at its place with the three forms to write. - Data end only along a dimension declared
inf, past the input's last row along it, where a point is eod. Inside a fixed size or a list a point with no row is missing data, also after the last row:input("x", t : 10)with rows at t = 0 to 2 reads missing data at t = 5, where 0.25.0 read eod;readingoversensor : 3, t : 4with rows for sensors 0 and 1 reads missing data for sensor 2, somean reading over (sensor : 3) endis the mean of the other two, with the warning that one missing point was left out, where 0.25.0 gave eod."ragged": trueon an input makes each line end at its own last row. - Along texts declared
inf, a key the data never mention is eod: withp.csvlisting keys A and B,v[k = "Z"]ofv = input("p", k : inf)is eod (0.25.0: the missing error), at every point of its line, whatever the fill; a key the data mention with an empty cell, or a gap along whole numbers, is missing data as before. - A table writes
eodonly where data end: as the last row of its line along a dimension of whole numbers declaredinf(along each such dimension). Anywhere else, inside a fixed size or a list, before a later row, along texts declaredinf, or on an input with no dimensions, the wordeodin a value cell is refused, the message naming the file, row and column (0.25.0 read it as eod); leave the cell empty for missing data, or compute eod in the program (if raw == 0 then eod else raw). Files eLucid8 writes with their kinds (a_kindcolumn, JSON lines' kind, Arrow and Parquet) read back exactly; the compact form"csvWords": trueis for reading. The same in the command,serve's new rows, the playground's tables and the MCP tools. Samples the program writer makes and imported spreadsheets write an empty cell for a missing value. - A search along a dimension the data make texts finds nothing, in Rust as in the reference:
latest,after,asofandholdgive eod, a window's sum 0, where the Rust engine found the texts' rows. - A fill reaches only points inside the data: past the last row along a dimension declared
infa point is eod whatever the fill (0.25.0's"missing": 0onminute : infread 0 at minute 500; now eod). - An input with no rows (an empty file, or a header only) is eod at every point along a dimension declared
inf, and missing data inside its fixed sizes and lists, where 0.25.0 gave the missing error at every point;checkwarns that the input has no rows. - A point with no row on an input with a clock (times from its coordinates) is missing data at its clock time, where it was at time 0. A window by time leaves it out and counts it;
asof,hold,latestandaftertake it as a candidate at that time, so where the gap is the latest reading the answer is the missing error, unless the search saysskip missing. A fill keeps the timestamp of the point it fills (its clock time, or its row's time for an empty cell), asdefault(x, v, "missing")does. - A gap at a clock's tick 0 (an input with times by coordinate and no row at the coordinate whose time is 0) is missing data at time 0, a candidate of
asof,hold,latest,afterand windows like a gap at any other tick, where 0.25.0 passed over it:asof.tick r at 0 endgives that missing error (0.25.0: eod), andsumorcountover a window holding only it is missing (0.25.0: 0). Missing data at time 0 on an input with a time column, or with no times, still has no time and is passed over. - Aggregates: one whose elements are all missing is missing (0.25.0:
sumandcount0, the others eod).mean,approx_mean,min,max,argmin,argmax,variance,sample_varianceandstddevof no elements are an error of kindempty(mean of no elements), where 0.25.0 gave eod;sum,approx_sumandcountof no elements stay 0,listgives[]andcollect{}.sample_varianceof one element is an error of kindfailed(sample variance of one element), where 0.25.0 gave eod.default(x, v)fills eod only, so the compilers warn atdefault(min … end, v)and say to writedefault(min … end, v, "empty");checknow prints the compiler's warnings. - A stale
hold(no reading in its window, readings before it and after it) is missing data,hold: no data within 2000 ms before 9000, at the time of the newest reading before the window, where 0.25.0 gave eod;asof … within Mlikewise. A window wholly before the first reading or after the newest stays eod. "fill": {"missing": 0}replaces"missing": 0in an input's entry (plain, or by coordinate)."missing"is refused with the line to write; eod is never a fill ("missing": "eod"is refused, saying where the data end instead). A filled point is data: aggregates count it and searches take it.skip missingon an aggregate is allowed: it leaves the answer as it is and silences the warning (the points are still counted inskippedMissing).- An output over an input of fixed size writes every row of the size, a gap as missing data, where it wrote only the rows the data list.
- A null is missing data from every reader, as an empty CSV cell is: a JSON line's
null, a null in a Parquet or Arrow file, a pandasNoneorNaN, a Polarsnull, and a NULL a connector reads from a database. Only eLucid8's own records say eod for a null, with a_kindcolumn beside the value. The answers are 0.25.0's; the Python page, the guide and the command reference said eod for a Polarsnulland a JSON line'snull, and now say missing data.
- Every dimension of an input says its extent:
- Refused where 0.25.0 answered eod: a query or an output that leaves out a dimension of its value (
the query leaves out dimension y of heat: a query names every dimension of its value, as in heat[t = …, x = …, y = …]), and a data file that does not fit the program (no column for a dimension, for example). Both exit with code 3 before anything is computed or written, on every surface. - A search's line chosen at run time (
asof.q quote[symbol = sym] at time(sym) skip eod end) reaches as far as that line's data, where 0.24.0 and 0.25.0 stopped at the shortest of all the lines the data list, so a search near the end of a file could give an older row than the latest: on one sample of 600 trades, 7 answers change, among them trade 589, 22.54 → 22.85. - Error kinds: twelve,
missing,late,failed,division,non-finite,empty,assert,type,index,data,raisedandversion.otheris gone: a value of the wrong sort istype, a list position or record field that is not thereindex,headortailof[]empty,error("…")raised, anerror: …cell in a data filedata, a failed connectorfailed, a version that cannot be pinnedversion. The messages are unchanged;iserror(x, "other")is refused with the list. - How answers are written: every answer is a triple, its kind (a value, eod or an error), its value and its timestamp, and every error says its kind and where it started, in one form on every surface (the value triple page):
- JSON: each answer is one record,
{"kind":"value","value":4,"ts":0},{"kind":"eod","ts":0}, or{"kind":"error","error":"division","message":"division by zero","origin":{…},"ts":3000}, withoriginwhere an error passed on started. - In words (the command's messages,
check, the repl, the MCP tools, the window and the playground):ratio[t = 3] = error division: division by zero, anderror missing from reading[t = 1]: …for an error passed on, where 0.25.0 wroteError: …andError via …. A program's-- expectlines are written the same way. - CSV: a value's column holds data only, empty where the answer is not a value, with
v_kind(value,eod,error missing, …) andv_messagebeside it, always written, so pandas, Excel and R read the column as numbers;--timestampsaddsv_ts,--triplethe origin, and--csv-words("csvWords": true) writes the one-column form with the words in the cell. eLucid8 reads both forms back. A cellundefinedin a data file is refused (writeeod). - Arrow and Parquet:
v_value,v_kind,v_error,v_origin,v_message,v_tsandv_trail, whether or not there are errors; the kinds as words (pandas and Polars show categories). npz files addv_error.npyand a legend, frameskindNames, Zarr the kind's flag meanings; the tables carry the markerelucid8-table/1. The earlier forms are refused when read back, naming the column and the form to write.
- JSON: each answer is one record,
- One plan version for the release: every program compiles to plan version 26, and this release reads only plan version 26. A plan from an earlier release is refused with "compile the program again": the program (
.el8) is what you keep. The Stability page lists every form this release reads and writes, and the names reserved for later releases. Programs saved on the site keep the release they were saved under. - Programs that no longer compile:
- a definition with a library name (
count = …,sum,max,default,abs,text,join…), with a name offered (count is a library name; choose another name, such as n_count); the keywords are a closed list, withfromandalongnew andasreserved for a later form; - a definition named
productorapprox_product, now aggregates (product is a library name; choose another name, such as my_product); as a dimension the name is still allowed; those x in L if c end, writtenthose x from L if c end;- a call whose dimension parameters would merge two dimensions (
shift_sum.k(v)where the function's body nameskitself), which from 0.17.0 to 0.25.0 compiled and summed over the merged dimension.
- a definition with a library name (
- Programs that now compile, or answer differently: a sum or mean of a product of three or more factors written in place,
sum a * b * c over R end, is the exact sum of the exact products rounded once, as for two factors (0.25.0 roundeda * bfirst, and could give 0 where the exact sum is −7.1e-20, or an error where1e300 * 1e300overflows on its own); it is computed per element, not in compiled loops; a number with an exponent (1e21,2.5e-3) is a literal, where 0.25.0 refused it;"a" + "b"is"ab";lengthof a text counts its code points, so an emoji counts once (0.25.0 refused a text:length needs a list or a set); a record whose fields are written out of order gives the first error in the order written ({b: 1 / 0, a: sqrt(0 - 1)}:division by zero), as the playground already did; a program may hold 50,000 operations (was 25,000). deploy.json: everyformatis a lower-case word (csv,jsonl,parquet,arrow; for outputs alsonpz,zarr,frame,vega-lite,txt);"CSV"and the other earlier names are refused with the word to write. Outputs written side by side are"report.csv": {"channels": ["running", "ratio"]}(check --write-configconverts the list form).check --write-configandinitwrite$schemaand"format": "elucid8-deploy/2"first.- Programs in a window: an event's
kindis a name (press,move,key,typed,tick, …; on the view inputwheelandresize), and a comparison with a number is refused with the name to write (write "key"). A window property names a value of the program in braces,"{name}", and any other string is literal text. A picture node isplot. The first row or line shown isscroll(on a text and on the view input's events too), and a plot'stopis the value its set has (drawn black by the classic palette). The one-picture--showmode and--pointer-pathare gone: every window is a tree of nodes. - Limits and permissions:
runandservestop at half the computer's memory and, by default, a run after an hour and a service's request after an hour, saying which limit was met (exit code 1);--memory noneand--time nonelift them. A query whose answer must be held whole (frame, npz, Arrow, Parquet, Zarr, Vega-Lite) and cannot fit is refused before it starts. An output's"outside": trueis written only once you allow it (--allow-outside, or a yes at a terminal kept in.elucid8-allowed), and an input read from outside the deployment's folder is named in a warning. Throughelucid8 mcp, connectors an assistant names start only once you agree. serve's counts of missing points (skippedMissingand the warning) count only the points the query's own answers read, asruncounts them; 0.25.0 could also count points read only by work the service did ahead of the answers (one missing point where the answers read none).- The examples: programs changed with their pictures, so their answers changed: the Mandelbrot example is the home page's program (its count is
n_steps), Life and the heat plate are 128 × 128, xor 41 × 41, the dropouts' window bounded to the day. - No other answer changes: every other program gives the same answers as in 0.25.0.
The language
productandapprox_product:product x over (t : 3) endis the exact product of the elements, rounded once, whatever their order (0.1 × 3 × 0.7 is 0.21, where multiplying in order gives 0.21000000000000002);approx_productmultiplies in the region's order, for speed. Over no elements both are 1; eod, errors, missing data, filters and windows as for every aggregate; an error only where the exact product is too large for a number. Computed per element, not in compiled loops.- Programs over several files:
smooth in "ferd.el8", orsmooth in ferdwithferd = "ferd.el8", is the definitionsmoothof that file; beforeinany expression, all of whose names are the file's (X + Y in "lib/sys.el8"). Files may read each other; a file reads the program's own definitions by its file name. A query may ask(smooth in ferd)[t = 4]. A compiler warning names a name both files define where the loose binding ofinmay have taken the wrong one. along, a check of a value's dimensions:turns along (t) = …compiles only if the compiler finds exactly the dimensions listed (in any order;amount along () = 300000for none); otherwise a compile error names each extra dimension with the read that brought it in (turns is written along (t), but its dimensions are (t, x, y): it depends on x and y through reset, which reads on_cell, which uses #x at 4:11 and #y at 4:24) and each one missing. Also on a local value, an input and an output (output("level") along (t) = level), not on a function. It changes nothing else: the plan is the plan without it. The same in both compilers.- Several dimension parameters:
fun dequant.k,kb(b, s) = b * s[kb = div(#k, 128)], calleddequant.k,kb(w, ws). - Rounding to narrow number formats:
bf16,fp16,fp32,fp8_e4m3andfp8_e5m2give the value of that format nearest their argument (ties to even), in compiled loops too. - Texts:
text(x)(a number asrunwrites it, the shortest text that reads back as the same number;trueorfalse; a text itself),join(L, sep)and+joining two texts anywhere. - Times as text:
utc_text(t)writes a time in milliseconds as ISO 8601 in UTC,utc_text(time(order))is"2026-11-21T14:05:00Z"(.250before theZwhen the millisecond is not 0), andutc("…")reads it back. A program knows the time now from a clock input ({"builtin": "clock", "every": "1s"}), never from anow, as the guides, Learn and the Quick reference now say.
The command
elucid8 checkruns a program's-- expectlines (-- expect total[t = 3] = 6), with its-- tablelines as data when there is no deployment: each line that does not hold is named with what was expected and got, then4 expectations hold. New exit code 5 when one does not hold.serve --state DIRkeeps the data clients send and sends it again when the service starts, so a service started again answers as if it had never stopped; on stopping, a line says what was answered and kept. The ready line,describeand/healthname the protocol,elucid8-serve/1. Rows posted withturn=nextare placed at the input's next turn, in the order the service takes them.elucid8 run --why FILEwrites, for each point asked, the tree of every value its answer was computed from, as the playground's Why? shows it.elucid8 guide [--short]prints the guide for AI agents (the text of/llms-full.txt, or/llms.txt), with no web access;elucid8.guide()in Python.elucid8 schemaprints the JSON Schema ofdeploy.json(--windowthe window file's,--settingsthe settings file's);checkstays the authority.elucid8 playgroundopens the playground on your computer (macOS, Windows and Linux) on your own projects, with the program writer on your own API key (elucid8 key set).elucid8 galleryopens the window apps, ready to launch.elucid8 mcp install claude-desktopsets up Claude Desktop to useelucid8 mcp.run --session DIRandcheck --session DIRread the inputs a window fed from a sessionelucid8 window --record DIRkept, so every answer is the one the window showed.- Reserved, and said so: a playground link in place of a program or folder, and
elucid8 link, answer "not built in this release" (exit code 2). The exit codes 0 to 5 and the command line are listed as stable on the Stability page.
Programs in a window
- One window on every system: the system's web view on macOS, Windows (WebView2) and Linux (the desktop build, with WebKitGTK), its text in IBM Plex, built in. Cmd-+, Cmd-− and Cmd-0 set the text size, which the window remembers; a fitted picture keeps its size.
- The window in its own file:
"window": "window.json"names a file holding the section,"format": "elucid8-window/1"first;checksays, for each node, which value or text each property reads. - Sound:
"sound": {"notes": "notes"}plays the note events a program computes. --record DIRkeeps a session's rows forrun --session(for every app, and throughplaygroundandgallery).- A window as a client of a remote
serve:"service": "http://…"in window.json; several windows share one service's state, their rows placed in one order. - Asks: a window may ask a process (
"asks") and show its reply; a process it would start is shown first in an Allow panel, which only the window grants. - Plots:
"palette"names a colour scale,"single","classic","viridis"or"diverging", the same as the playground's; error cells are hatched from 6 pixels a cell, and every picture has a 1-pixel frame. Ascrollcontainer shows its node from"position"and"left"; a text's"width": "fill"follows its box. - A window app's own input needs no file: an input the window feeds starts with no rows when its entry has no
from.
For AI assistants
- Two guides, tested against the release:
/llms.txt, the short guide (under 60,000 bytes), and/llms-full.txt, the whole guide (about 230 KB): the language,deploy.json,runandserve, windows, connectors and the messages with their fixes;elucid8 guideprints either. A test checks that everyelucid8command and flag they write is oneelucid8 helplists. - The MCP tools are fixed for the release (13 tools, their names, arguments and results checked against a snapshot), and the hosted server's tools are a subset with the same schemas.
checktakes the program as text with its inputs inline and runs its-- expectlines;showfixes a dimension (at: {"k": 30}) and opens a step dimension at its last step; each tool says honestly whether it only reads; a refused call says what to write. - The playground's program writer works with tools: it runs
checkandrunon the program it writes (the hosted MCP server's own tools, on the server, with nothing stored) and gives only checks whose answers it saw, within 60 seconds, with the whole guide as its reference.
The playground and the site
- The playground asks by itself: every program created or changed (by the prompt, an example, a link or an edit, once typing pauses) is asked and its view drawn, with no press; a change stops the question being computed.
- The prompt area: a recipe, four example requests and more under a fold before you type; after Generate, the picture and the answer beside a card saying what you asked, how it was read (the data and their sizes, then each value in words) and which checks agree, with Change it (back to the prompt) and Start again; the program is a link away.
- Views in the program's words: each view says what it shows ("heat: a stream of x × y pictures along time"), its tick ("time = 24 of 0–9,999") and the dimensions held, with corner labels on the plot; a small grid, or one over names, is a table, rows down.
- Zoom by levels: the fractals zoom and pan by levels (+ Zoom in, − Zoom out, drag), computed by workers each holding the WebAssembly runtime, centre first; the picture stops where the program's numbers can no longer tell neighbouring cells apart, and says so. A large grid opens whole, sampled exactly at its cells, with the window asked framed on it.
- New examples: a Julia set, the Burning Ship, Newton's fractal for z³ − 1, and three relatives of the Mandelbrot set: the Tricorn, the cubic Multibrot and the Celtic fractal. Each example opens in its own colours (heat, coral and the image in viridis; values that cross zero in diverging) and plays to its own end.
- The gallery (
/gallery): every example as its picture, searchable; a pick opens it run, full screen, with Previous and Next. - The home page opens on a live picture computed by eLucid8: every spot, Why? and zoom computed in your browser, six places to explore one click away, and Open in the playground and back.
- On Windows laptops, the playground and the home page use one worker a core where a processor runs two threads a core, share one compiled copy of the runtime between workers, and say their time a tile;
?workers=Nsets the count. - Sign in with an email address, beside GitHub and Google.
Downloads
- The macOS binaries are signed with a Developer ID and notarised, and the Windows binaries are signed. Linux has a desktop build with the window (glibc, WebKitGTK) beside the static build, which the install script chooses; the Linux Python wheels (manylinux) carry both, and the static build hands
window,gallery,playgroundandkeyto the desktop build beside it.
Faster, with the same answers
Measured on a quiet machine, the release candidate against 0.25.0 (median runs, every answer compared and the same), unless an item says otherwise.
- The heat plate (the physical simulation, 512 × 512 over 1,000 steps): on one thread 1.83 → 1.58 s (14% faster), on 18 threads 0.339 → 0.283 s (17% faster); with
approx_mean, 1.25 → 1.00 s (20% faster) and 0.264 → 0.205 s (22% faster). The plates are 0.25.0's bit for bit. - The playground's Mandelbrot (48 × 48, as published): 1.99 → 1.23 ms (38% faster); at 512 × 512, level (58.0 → 55.4 ms).
- The features example's table (100,000 customers × 365 days, the command's run alone, median of five): on 18 threads 3.27 → 3.09 s (5.5% faster), on one thread level (7.57 → 7.51 s), with every error's origin, message and trail now written beside the values.
hold,asofandlatest … within Mover a time column (200,000 rows): where no reading is stale,hold … within 5000takes 4.5 ms, where 0.25.0 took 12.5 s, andasofandlatest4.6 and 5.4 ms, where 0.25.0 took more than 5 minutes; with stale readings,holdandasof … within 50take 12.3 and 12.5 ms.- The market feeds' corrections (
serveanswering again after a random correction or a bad feed): within 3% of 0.25.0, before the correction and after it. - Lists:
thoseover 1,000,000 elements 1.44× faster (182 → 127 ms) and a list grown over 1,000 steps and filtered at each 1.62× faster (58.8 → 36.2 ms), against the build before the change (0.25.0 cannot run these programs, written withfrom). - Iterations that settle: a point of an iteration whose values stop changing is not computed again. The home page's Mandelbrot, a 128 × 128 tile: 419 → 82 ms at zoom 18, 341 → 74 ms at zoom 12, 196 → 56 ms at zoom 6, against the same build with the check off, on the development machine.
- Names as numbers inside the engine, and fewer allocations: the same tiles on one thread 13–21% faster, and 11–17% faster in the browser's WebAssembly runtime, against the build before the change, on the development machine.
- The playground: the Mandelbrot at 1,440 × 960 drawn whole by the WebAssembly runtime, its first pass in well under a second and complete in 5.4 s, where the playground's own engine took 11.5 s for a 48 × 48 window (one run each, on a machine doing other work).
Slower
- The features example's script as a whole (Python, the leakage checks and
elucid8): 4–11% slower on 18 threads, and 26% slower written as records on one thread (below), partly because its DuckDB filter now compares the kinds as words (0.13 s a chunk, against 0.05 s for 0.25.0's numbers); the command's own part of the table is faster (above). - Files: a CSV output always carries two more columns per value (
v_kind,v_message); an Arrow table of the features is about 1% larger than 0.25.0's (137.3 against 136.0 MB) with the error columns. - A Mandelbrot tile where few points settle (zoom 1): about 2–3% slower than the same build without the settling check, within the measurement's noise.
Known limits in 0.26.0
Each is to be fixed in the release after 0.26.0; none changes an answer.
- Large tables written to Parquet or Arrow: the markets example's run is 12% slower than 0.25.0 on 18 threads (6.32 → 7.09 s; 26% in the slowest run) and 9% slower on one thread (41.5 → 45.3 s), since every row it writes now carries its kind and error columns. Programs that write millions of rows to Parquet or Arrow can meet the same.
- The features example written as records, on one thread: 5.46 → 6.60 s (21% slower). On 18 threads records are 3% slower (3.02 → 3.12 s), and the table is level or faster on either; write the table, or use more threads.
serveanswering in Arrow: the sensor field's stream takes 7% longer a tick on 18 threads (10.68 → 11.44 ms) and 11% longer on one thread (13.36 → 14.79 ms); answers in JSON lines are within 3% of 0.25.0's.serve's memory when it is sent its data over the wire: its peak is about 2.6 times 0.25.0's (699 → 1,829 MB on the sensor field's stream of 1,000 ticks of 65,536 readings), growing with the data sent; speed is unchanged. A service stops at half the computer's memory by default: give one fed large inputs more with--memory(--memory 16G, or--memory none).- A stale
hold,asoforlatest … within Mover an input with a clock: where readings are further apart than M, the stale point is now missing data, not eod, and making each one costs time: over 200,000 ticks, 28–32 ms where 0.25.0 took 4.2 ms. Over a time column the same searches are fast (above). - Long frames in the text apps: in the gallery, Editor has occasional frames of up to 0.6 s, and Baby Pandoc and The first 10,000 primes of up to about 0.12 s, against the 16.7 ms of a 60 Hz frame; their typical frame takes 7–14 ms.
- The first 10,000 primes on slower computers: at 50 ticks a second it falls behind on slower computers (measured on GitHub's Intel Mac machines) and pauses while it catches up; the primes it shows are the same.
- A window's
"service": a window section's"service"may name any address, and the window then sends its rows there (the keys pressed and the text typed) with the serve token inELUCID8_SERVE_TOKEN, with no Allow question and nothing shown bycheck. Before opening a window app from someone else, read itsdeploy.json(or the window file it names) for"service", and do not setELUCID8_SERVE_TOKENfor every program: give a service's token with--token-filewhen you open a window on it. - Ready-made descriptions written live: in the playground, Heat on a plate (under the prompt box) and Spacecraft telemetry: voltage against panel current (in Examples to describe) are written by the model when you press Generate, taking as long as a description of your own, where the others answer at once; the telemetry one can stop before its program is finished. In
elucid8 playground, four templates are likewise written live, on your API key: Reaction–diffusion: coral from a square, Missing and failed readings (missing data and errors), Image pipeline: blur and edges (optimisations never change results) and Log analysis: error rates and incidents.
#0.25.0 (8 November 2026)
What changes from 0.24.0:
Answers in
elucid8 serveafter late rows (a fix): in 0.24.0 a service could give a stale answer after rows arrived: a value computed a step at a time and kept between requests was served again where a new row changed it. In a session of 58 requests with a late row every third request, 0.24.0 answered 51 to 57 of them differently from a freshrunof the same query, forasof,hold,latest,after,asof … within, a search withskip eodorskip missing, a window andwvr. 0.25.0 answers each the same as a freshrun. A count of left-out missing points (skippedMissingin a report, and its warning) could also be missing from a later request's report in 0.24.0; it is now given whenever an aggregate leaves a point out.How far a search along a dimension with no end reaches (a fix): a search (
asof,hold,latest,after, a window) along a dimension with no end covers each line of an input it reads as far as that line's data has reached, line by line, as the language says. Three cases changed, in both engines:- a value reading two named lines of an input (
quote[s = 0] + quote[s = 5]) is found where the lines between them have fewer rows, where 0.24.0 answered eod; - a named line the data do not list (
quote[s = 2],quote[s = "Z"]), or an input with no rows, answers eod at once, where 0.24.0 never finished; - a line named by text (
asof.q quote[s = "A"] at T end) answers at once, where 0.24.0 never finished.
A line chosen at run time (
quote[s = k]) still stops at the shortest of the lines the data list, as in 0.24.0; a later release resolves it at the point. Programs whose search names a line by text compile to plan version 24, whichelucid8reads from 0.25.0; every other program keeps its version.- a value reading two named lines of an input (
Output folders:
elucid8 runandservemake an output file's folder when it is not there (out/report.csvwith noout/), where 0.24.0 stopped with "No such file or directory".No other answer changes: every other program gives the same answers as in 0.24.0.
Choices by measured cost: which strategy computes each value (compiled loops over a box, a step at a time, element by element) is now chosen from a table of measured costs built into the command, in place of fixed rules. The answers are the same whatever is chosen; what changes is the work done and the time. Every published example and app runs level with 0.24.0 or faster, with the same answers (below).
The planner
- One plan for a request: the values a run's outputs read are planned together and computed once, where 0.24.0 could compute a value shared by several outputs or columns again for each (the features example's five columns: about 11 million elements of 40 million computed twice before, none now).
- The cost table: the break-evens the planner uses (how many elements a step needs before it is run as a compiled loop, from how many cells a box region pays with a point cache, when a filter along a dimension uses its compiled form, when shared tiles pay, how much work a thread needs) come from measurements of each kind of equation on each kind of data, built into the command.
--reportsays when a value's plan changed while running (for example, a step too small for a compiled loop). - Iterations whose step reads its own coordinate or reads ahead (a value defined with
fbywhose right operand reads#t, or another value att + 1, such as the running sumx fby.t (running + next.t x)) are computed a step at a time in compiled loops, where 0.24.0 computed them element by element (the running sum over a million ticks: 3.3 times faster, below). - A session stays flat: in
serveand in a window, a value computed a step at a time keeps its steps between requests also when they hold eod or an error (0.24.0 computed the whole history again at every request), and an iteration of one element a step keeps its newest steps after a gap in its input. The work per request no longer grows with the session's length.
The command
elucid8 check --compare-plans[=N]computes the deployment's queries and outputs under the engine's own plan, element by element, and under N plans chosen at random, at the configured number of threads and at one thread, and compares every answer, timestamp, warning and report byte for byte. Exit code 3 and the first difference if any plan changes an answer. It is how the engine's choices are checked never to change an answer; it is there for anyone to run on their own deployment.check --explaingives each value's class: under each value's line,class:says what kind of equation it is, read from the program alone: flat or an iteration (of how many variables, along which dimension, how wide a step), its body (pointwise, a neighbourhood, an aggregate, a choice by time, a computed position…), whether it can fail, reads beside its point or past the newest row, and its guards (iseod,skip eod…).--jsonandrun --report --explaingive it asclass. Where an iteration is not computed by steps, explain names the read that prevents it ("reads back2 3 levels below the one it computes").serve'sstatsgivesperRequest: what eachqueryandadvancecost since the laststats(evaluations, compiled-loop elements and runs, steps computed, milliseconds), and the bytes the service holds between requests.- For measuring:
ELUCID8_TUNE(for exampleELUCID8_TUNE="min_level_elements=1000") moves the planner's thresholds, andrun --settings FILE --setting NAMEandserve --settings FILEcompute under a named setting from a settings file (thresholds, strategies narrowed or forced on, values forced element by element);check --compare-plans --settings FILEchecks every setting gives the same answers. A report says which tuning and setting were in force. They change the time, never an answer.
The playground
- Download gives a project's layout: every input's data file in
data/, every output written toout/(whichelucid8 runmakes), and the program,plan.jsonanddeploy.jsonat the top. An output named like a data file is no longer renamed (out/x.csv, where it wasx-output.csv).
Words
- The documentation says threads for what a run uses ("one thread", "18 threads"), not cores, and iteration for a value defined with
fby(computed by steps: "iteration by levels"); recursion is kept for functions that call themselves. Some messages of the command still say "recursion" for an iteration; they change in a later release.
Faster, with the same answers
Measured on the development machine (an Apple M5 Max, 18 cores, 64 GB, macOS), each case run by 0.24.0 and 0.25.0 in turn, best of three to five runs, every answer compared and the same.
- The published examples and apps: every example at full size, on one thread and on 18, and every window app, level with 0.24.0 (within 5%) or faster. Among them:
- the features example's table as records, on one thread: 14% faster (7.67 → 6.58 s); on 18 threads, level;
- the market feeds' corrections, the whole run of each (the random correction and the bad feed, on 18 threads): 11% faster (87.5 → 77.7 s and 85.3 → 75.4 s); the service's answer after each correction, level.
- Programs of the shapes users write, each written for its task before it was measured:
- a moving average over four sensors (
ema = x fby.t (0.9 * ema + 0.1 * x), 20,000 steps): 4.08 s → 16 ms; 0.24.0's time grew with the square of the steps; - the first 300,000 readings of a million that a second column marks as checked (
x wvr.t checked): 6.7 times faster (126 → 19 ms); - one customer's year of two features (365 days) from the features service with a point cache: 3.4 times faster (2.4 → 0.7 ms);
- the README's running sum (
running = x fby.t (running + next.t x)) over a million ticks: 3.3 times faster for the whole column (893 → 273 ms), 2.2 times for the last value (419 → 191 ms).
- a moving average over four sensors (
- A service stays flat: in
elucid8 servesessions of 3,000 turns, a row appended and the newest point asked each turn, the time a turn stays flat for a choice by time (asof), a moving sum over a time window, an aggregate over the data's coordinates and an iteration over an 8 × 8 field (0.009 to 0.015 ms a turn over the last 100 turns). 0.24.0's grew with the session, up to 30 times its first turns' time by the end (the aggregate: 0.078 → 2.37 ms a turn). - Answers written faster: answers asked over a box and written as JSON lines or CSV are written without building each point's context and, on several threads, in parts. A million points of a pointwise value: 465 → 115 ms on one thread, 498 → 37–45 ms on 18 threads, the same bytes.
#0.24.0 (6 November 2026)
What changes from 0.23.0:
- Answers: an input's point with no row inside its bound, and an empty cell, are now missing data, an error of kind
missing, where they read eod ("missing"is"error"by default, also for"*"in the by-coordinate form). Every aggregate (over a region, a neighbourhood or a window) leaves missing data out, and a query whose aggregates left missing points out says how many, per input: a warning (aggregates left out 2 missing points of input sales) andskippedMissingin--report. A point with no row is never a candidate of a search or window; an empty cell in a row with a time is, as missing data at that time, and such a row counts for the newest row. A deployment keeps the earlier reading with"missing": "eod". - Programs that no longer compile:
assertis a word of the language.skip missingon an aggregate is refused: it is the default. A number written with an exponent (1e3) is refused with a message saying to write it in full.
The language
e assert p: the value ofewherepis exactly true, its timestamp the latest of both; wherepis false or eod, an error of kindassert(assert failed: p was false, the condition's text cut to 60 characters), andeis not evaluated. It binds more loosely than every operator, comes beforewhere, and checks in written order.x = e assert x >= 0is an unguarded cycle: name the value first.skip missingon searches (asof,hold,latest,after: besideskip eod, or both) leaves out a candidate that is missing data;default(x, v, k)fillsxwithvwhere it is eod (k="eod", asdefault(x, v)) or an error of kindk(default(x, 0, "missing")).- Programs that use any of these compile to plan version 23.
Data files written by other tools
NAandnull(not quoted) in a CSV value cell are missing data, as an empty cell is; quoted, they are texts, and eLucid8 writes a textNAornullquoted. The playground and the Python package's connectors read them the same way.- Files that quote every field (as many portals and exports write them) are read as if unquoted, so
"12.5"is a number there;"quoted": "read"reads quoted fields as unquoted in any file,"quoted": "text"keeps them text. "separator"(";", a tab,"|"),"decimal": ","and"thousands"on a CSV input:1.234,5reads as 1234.5 in values and real-number coordinates. A header of one column holding;(or a tab, or|) is refused with the line to add. Reading a file that uses none of these is as fast as before."absent": other cells that mean missing data,["N/A", -200](a number matches any cell that reads as it).- Dates and times written another way: a
formatontimeand on a column read as days ("dd/mm/yyyy","dd/mm/yyyy HH.MM.SS", fromyyyy mm dd HH MM SS fff), and a time written in two columns ("column": ["Date", "Time"]). Times are UTC. elucid8 initproposes all of these from the file (with--yes, a date no day above 12 decides is read months first, and said), leaves out a column with no name, and writes nothing when the deployment it would write is refused.elucid8 checksays, under each input, what each column is read as and how the file is written, and warns of numbers written in quotes and of markers the entry does not list (-200in 1% of the rows,N/A), with the line to add;check --write-configwrites the separator a file needs.- The samples gain five public files with gaps, each read as served (NOAA weather, a county's retail sales, UCI air quality, UK government spending, the Palmer penguins), their answers checked against pandas.
Programs in a window
- Every event gives every field its input lists: a field the event does not concern comes as 0,
""orfalse, and a cell as the one sent last, so nomissingsetting is needed for absent fields. Before the first event the input has no row:missingby field says what the first frame reads.
The command
elucid8 check --explaincomputes the queries and outputs asrunwould, writing nothing, and says for each value how the engine computed it and over which region (compiled loops over a box, levels along a dimension, or element by element), with the reason in plain words for anything not compiled.--jsongives the same as JSON;run --report FILE --explainputs it in the report asstrategies. Without the flag nothing is collected.
Faster, with the same answers
- More of a program in compiled loops: aggregates that leave elements out (filters,
skip eod, missing data, limits, lists, windows beside other items, computed bounds), searches withskip missing, and comparisons of texts. - A point cache over a sparse input: where the points with no row are missing data, rechecking what a correction changed takes about 10% longer than in 0.23.0 (a third longer before the correction, in the features example); an input whose absent points mean nothing happened (
"missing": "eod", as in the features, markets and sensor examples) runs as fast as in 0.23.0. - Measured against 0.23.0 on every published example at full size, on one thread and on 18: level or faster, every answer the same; the interactive apps level or faster.
For AI assistants (elucid8 mcp)
compileandrungive a link that opens the program in the playground; a query may ask for what a program writes to an output channel asoutput("report")[t = 0..5];compile's result is smaller; the hosted server accepts programs withoutputlines.write_deploymentbinds an input whose rows are numbered by position when its description says so, and says first, with the line to add, when an input it wrote reads no data.checktakes"explain": true.
#0.23.0 (3 November 2026)
What changes from 0.22.0 (each is described in its section below):
- Answers: eod in the condition of
wvr,asaanduponnow ends the walk, so the result is eod where 0.22.0 passed over it. Programs that do not use the three operators give the answers they gave. - Programs that no longer compile: a plan of version 20 (0.22.0's, for programs with
asa,wvrorupon) is refused: compile the program again. These names are now words of the language and cannot name a value, function or input:head,tail,length,elements,enumeration,codes,from_codes,elt,isin,addto,xby,those,list,collect, and the standard library'stab_focusandfollow. - Deployments that no longer run as they are: a deployment that starts programs or connectors needs your permission once (a yes at a terminal,
.elucid8-allowed, or--allow-programs); an output that writes outside the deployment's folder needs"outside": trueor--allow-outside;elucid8 checkno longer starts an input's program or connector unless allowed. Deployments that start nothing and write inside their folder (the examples, the samples, a playground Download) run as before.
The language
- Errors have a kind:
missing(an input's point with no row, read under"missing": "error"),late,failed(a data service),division(by zero),non-finiteorother; an error passed on keeps its origin's.iserror(e, "missing")tests it (the kind a text from that list; anything else is a compile error). In outcomes written as JSON, a division by zero and a missing point's error carry"errorKind"; messages are unchanged. - eod in the condition of
wvr,asaanduponends the walk: the result is eod (eod is the end of data). In 0.22.0 it was passed over as not true;if iseod(q) then false else qgives those answers. Programs that use the three operators, oriserrorwith a kind, compile to plan version 21; version 20 is refused (compile the program again). - Lists, records and sets:
[3, 1, 4]and[],{x: 40, y: 12}and{:},{3, 1}and{}are values, written as in JSON and Python, withhead,tail,::,<>,elt,length, a record's.xandxby,+,-,^,<=,<,>=,>,isin,addtoon sets,elements,enumeration,codesandfrom_codes,those k in L if c endto filter, andlist e over R endandcollect e over R endto gather a value over a region.==compares them by contents; every operation is strict, as+is. Programs that use them compile to plan version 22; values over them are computed one point at a time. In JSON a list is an array, a record{"record": {…}}and a set{"set": […]}. The names of these operations are words of the language (above). - A new playground example, "Visitors: lists, records and sets": twelve visits to a shop's website, each a record, every visit so far in a list, and the visitors seen so far in a set.
The standard library
tab_focus(kind, key, shift, node, next, prev, takes, before)andfollow(scrolled, cursor, rows), for programs shown in a window of controls and text: the node with focus after an event (Tab, Shift-Tab, a press on a node that takes focus), and the first line to show (the user's scroll, unless the cursor moved after it). Likedefault, they are written in eLucid8; afunnamedtab_focusorfollowis now a compile error.
A window of its own
- Taught on its own page: Programs in a window builds a drawing, a dot moved by keys and ticks, a window of controls and a text field, step by step, and lists the six apps to run (drawing with tools, the editor, Markdown to HTML, the moon lander, Paddle and Flak).
elucid8 window program.el8 --show canvas --input penshows a value in a native window (macOS, Windows, and Linux with a build from the sources: the static Linux binaries cannot open one), at the newest coordinate of the dimension it plays along, in the Player's colours, and sends the pointer over it to an input as the Player'sinput=link does, all in one process. An input whose fields includekeyis also sent the keys pressed in the window, each one more event (kind4,keythe key's name as a browser names it:"c","Escape","ArrowLeft"), so a program can give keys a meaning (clear, undo, choose a tool); Ctrl-C ends the window. Drawing at 512 × 384, an event shows 2.5–3 ms after it arrives (median), against about 250 ms in the Player in a browser; at 1920 × 1080, 9–10 ms with 60 events a second. Frames reach the screen as SDL's do: on macOS the changed rows go into a Metal texture with no colour conversion; on Windows and Linux only the rows that changed are written and presented.- A window of several nodes: with no
--show,elucid8 windowlays out the tree of nodes a deployment's"window"section describes: rows, columns, grids, overlays and scrolls of pictures, texts, labels, buttons, radios, checkboxes, sliders and choices, each property a constant or the name of a value of the program. Each event is a turn of its input naming the node it happened on (a button, checkbox, radio or choice item iskind7; Tab sendsnextandprev, and the program moves the focus); the wheel and a resize go to the window'sviewinput. A text shows a value of code points over lines and columns with its cursor, selection and marks, sends typed characters to itscharsinput, copies its selection when the program says, and may be a one-line field. A frame redraws only what changed: a stroke presents only the picture's rows, and the tree is laid out again only when a node's size or visibility changes.--status "{strokes} strokes"puts a line of words under a picture shown with--show. The drawing with its 19 controls at 512 × 384, 60 events a second: about 1 ms from a pen move to its frame (median), 0.1–0.2 ms more than the same canvas alone; the slider about 0.8 ms. Input methods are not sent yet. - Modifier keys, repeats and text typed in
elucid8 window: an input may listshift,alt,ctrl,metaandcmd(Command on macOS, Ctrl elsewhere), sent astrueorfalsewith every event, a Shift-drag included; with a modifier listed,keyis the key with no modifier applied ("z"for Shift-Cmd-Z), and withcmd,ctrlormetalisted, keys with Ctrl or Cmd held reach the program (undo = kind == 4 and key == "z" and cmd == true). An input that listsrepeatgets each system repeat of a held key as its own turn, none dropped.--chars NAMEsends text typed askind5, withlength,codeandtext, and its characters' code points in the inputNAMEat the same turn; Enter, Tab and keys with Ctrl or Cmd arekind4. An input that lists none of these gets exactly the rows it got before.--tick DURATIONalso sends the input a turn every DURATION ("30ms"),kind9, with the modifiers held and the cell the pointer was over last, so a program can move by itself (the examples' rocket and moon lander);--tickand--charsmay be used together. - An input for keys alone: an input that lists neither the picture's across nor its down field is no longer refused by
elucid8 window; it gets keys, text typed and ticks, with no cell, and the pointer sends it nothing. - A real font in
elucid8 window: texts are drawn in JetBrains Mono, and labels and controls in Inter (Regular and SemiBold, with digits of one width), both built into the command and rasterised by fontdue (antialiased, crisp at 1× and 2×, cells on whole device pixels), in place of a 5 × 8 dot font of the window's own. A text is 14 px by default, lines 20 px high; itsfontSizesets another size, from 6 to 96. - Controls that look designed: buttons, radios, checkboxes, sliders and choices drawn anew, anti-aliased, with hover; a column of controls is drawn as a panel (
"panel": falseturns it off,"panel": trueon for any row or column); a label takes"style": "heading"or"muted"; the focused control shows a ring only after Tab has moved the focus. The window has a margin ("padding", 12 logical pixels by default). A picture with"scale": "fit"(the default for a picture that grows) takes the largest whole number of screen pixels a cell that fits, centred, and is fitted again whenever the window is resized. - Layout: a row of controls above a text keeps its natural height whatever the window's size (before, it was stretched or squashed); a text's line numbers run only over its lines; a tab is drawn to the next tab stop (every 4 columns), with the caret and a press placed by the column drawn.
- Files opened and saved in
elucid8 window: a text names the value giving a file's name ("file") and values true when to open and save it ("open","save"); the window reads the file into the program as code points by line and column in an input ("fileLines"), on a turn ofkind10 withlengthits number of lines, and writes the text back atomically on a turn ofkind11, or sendserrorwith a short code (no such file,not allowed,too large,not text,cannot write). Only plain names in the directory the window was started from, at most 1 MB and 10,000 lines, UTF-8; a file opened and saved unchanged keeps its bytes (\r\nbecoming\n). - Saves and copies that read only each line's characters: a text may name the value giving each line's length (
"lengths"); a save or a copy then asks each line only up to its length, not in bands of columns, with the same file written and the same text copied (a length that is wrong, eod or an error is read as without it). "missing": falsein an input's entry: a point with no row (or a program's answer that it has nothing there) readsfalse, with timestamp 0, as0does for a number; for booleans such as the modifiers a turn does not send."missing"by field: an input whose fields have different kinds (an events input: booleans, numbers, texts) may say what each field reads where a turn does not send it,"missing": {"cmd": false, "length": 0, "key": "", "*": "eod"}: the keys are coordinates of one of the input's dimensions declared with a list or a count,"*"every other (eod by default), and the values"eod","error", a number,true,falseor a text. The same for an input answered on demand and for rows a connector serves;checksays it andcheck --write-configkeeps it. The editor examples use it.- Each event's time on the rows
elucid8 windowsends: an input whose file ends with a time column (t,f,value,ts) gets every row with its event's time, milliseconds since the window started, one clock for every input, so a scroll onviewand a key onkeysare ordered by their timestamps (the standard library'sfollowdecides by them); characters typed and a file's lines carry their event's time; scripts count 10 ms an event. Files with no time column get the rows they got before. When the window starts it sends each text's lines and columns that fit (akind2 turn onview), not only after a resize. - Colours for pictures: a picture in
elucid8 window(a node, or the one-picture window's section) may give"colors", from values as written in the data ("0","1","true", a text,"eod","error") to colours ("#rrggbb"or"#rgb"), and"colorsDark"for the dark theme; or a gradient for smooth amounts,{"gradient": [[0, "#fafaf8"], [4, "#285adc"]]}, blended in Oklab, at the stops' values or with"domain": "data"stretched over the numbers shown. Cells not listed keep the window's scale.checkprints them and refuses a colour or stop that does not parse, with its place in deploy.json. Every window example now draws in its Python rival's colours. - A text in
elucid8 windowis asked only for what fits: each frame asks the program for the lines and columns that fit in the text's rectangle (and one more of each), not 200 lines by 400 columns. The editor with a file field on a 10,000-line file: a key 3 ms from its event to its frame (median), against about 150 ms; scrolling 0.9 ms. A save asks each band of columns only of the lines whose text has not yet ended: that file saves in about 13 s, against more than four minutes, and now in about 2.3 s (the two steps below). Saving 100 lines of the Markdown example takes 0.1 s, against 2.3 s. - Paste, and copies whole: the paste key (Cmd-V on macOS, Ctrl-V elsewhere) is sent as
kind6 withkey"v" and the clipboard's text attached:length, and its code points in the text's characters input, each line break one code 10; past 1,000,000 characters nothing is attached. The clipboard is read only at that key. A text'scopycopies the selection the text had at the step before, asked of the program whole: a cut copies what it cut, and a copy of 5,000 lines is never cut short by what is shown. - Ticks from when the window opens:
--tickand a section's"tick"send their turns from the start, in the one-picture window as in a tree; until the pointer has been over a picture taking the input, a tick carries no cell (the input'smissingdecides whatxandyread). Before, ticks waited for the pointer, so a game driven by keys sat still until the pointer crossed its picture. - The one-picture window's section takes
"tick"and"chars", as a tree's does (--tickand--charsoverride them), soelucid8 window program.el8needs no flags. - A slider pressed at its very end gives its end value (a press on the last pixel, and anywhere on its thumb, lands); before, a press on the right edge missed it.
- An About panel in every window:
F1(on macOS also Cmd-?, the app menu's About and the Help menu) opens a panel with the program's name, its"about"(a title, a version, a date, a few paragraphs, and keys with what they do, constants of the"window"section, checked bycheckwith their place) and theelucid8build it runs on, with Copy details for a bug report. While it is open nothing is sent to the program and ticks pause. It opens by itself the first time you run a program with its words ("atStart": "once", the default; remembered beside the appearance choice, and never in a headless or scripted run), or at every start ("always"), or never ("never"); a button with"opens": "about"opens it, and the panel's footer names that button. elucid8 windowfollows light and dark while it is open: when the computer's appearance changes, the window draws itself again in the other theme, each picture in its"colorsDark"or"colors"; the program is sent nothing. You can also fix it: on macOS View ▸ Appearance ▸ Automatic / Light / Dark, on Windows and Linux the same choices in the About panel (F1). The choice is remembered for every window (Command reference).elucid8 --versionnames the commit it was built from, and that commit's date, in a last line (built from commit 5ee6df6 (2026-11-14);+ changesafter the commit for a build with uncommitted changes).
The Player
- Live before any data: a live link opened while the service has no data yet says "Live · waiting for the first data" and goes live by itself when the first rows arrive (before, it stayed at
of 0and never went live). - Rows of texts have no chart under them (before, an empty chart with axes labelled
-InfinityandInfinity), and a row across names is drawn as bars, from 0 (or from just below the least value when every value is far from 0), since names have no order a line could follow. - The Player as an input: a link with
input=NAME(/player?value=mark&live&input=click) sends each click, or each press, move and release, on the picture shown to the program's inputNAMEas points of that value (its coordinates across and up, the tick shown), one request at a time and every event its own turn. Only to a service without a token: with a token the page says it cannot send. - Keys from the Player, as
elucid8 windowsends them: an input whose fields includekeyis sent each key pressed while the picture has the keyboard (click it), with the modifiers and repeats it lists, by the window's rules, the same rows for the same keys;chars=NAMEin the link sends text typed askind5 with its code points in the inputNAME, as the window's--chars. Escape stays the Player's: it gives the keyboard back, and Space, the arrows, T and L are the Player's again. An input that lists neither the picture's across nor its down field (keys alone) is no longer refused: it gets keys and text typed, and the pointer sends it nothing. The editor example types in the Player (/player?value=doc&live&input=keys&chars=chars).
Data coming in
- An input that follows a file:
{"builtin": "follow", "file": "live.csv"}in an input'sfromfollows a CSV or JSON-lines file another program appends to. The input starts as the file is;elucid8 servelooks at it everyevery(default"250ms") and appends each complete line added to it as rows, asadvancewould, so subscriptions,lastand the Player's live mode follow it (a line not yet ended waits for the next look); a file rewritten (shorter, or with bytes already read changed) is read again whole, as a correction; a file removed leaves the data as they were and is followed again when it comes back.elucid8 runreads the file as it is now;checkdescribes it; anadvanceof it is refused. No script withtail -Fandcurlis needed (Inputs given rows over time). - Lists and records in JSON lines: in a JSON-lines file, a value that is an array is read as a list and an object as a record.
- The Python package takes and gives lists, records and sets: lists, tuples, dicts with text keys, sets and frozensets in a table's cells are written as the command reads them (JSON lines), and an answer that is a collection comes back as Python values in pandas, and as a nested column in Polars and pyarrow where every value has one shape (eLucid8 from Python).
Results going out
- Outputs stay inside the deployment's folder: a file an output writes (its
to, a partition's folder, itsparts, a stream's file), an input'srecordfile and theoutputsection'spathmust resolve inside the folder holdingdeploy.json, after.., absolute paths and symbolic links; otherwiserun,check,serveandwindowrefuse the deployment (exit code 3), naming the output and the path. An entry's"outside": true, or--allow-outside, allows it; a file named with--outis yours to choose. Before, a downloaded deployment could write anywhere your account can (Outputs inside the deployment's folder). - CSV guarded for spreadsheets: an output's
"spreadsheet": true(orelucid8 run --spreadsheet) writes each text cell that starts with=,+,-,@, a tab or a carriage return with a'before it, so a spreadsheet does not run it as a formula. CSV only; numbers are never touched; off by default, so files read back as written (CSV guarded for spreadsheets). - Zarr stores and Vega-Lite charts refuse a value that holds a list, record or set, naming the value (exit code 4); every other format writes collections in their JSON form.
Programs need your permission
elucid8 checklists what a deployment can do before anything else: the programs and connectors it starts (with theenvnames each gets), files it writes outside its folder, addresses it listens on, made fromdeploy.jsonalone.--reportandinfo --jsongive the same ascapabilities.- Nothing is started until you allow it:
run,serve,windowandinitrefuse a deployment that starts programs or connectors (exit code 3, with the list) until you do: at a terminal they ask once, and a yes is recorded in.elucid8-allowedwith a fingerprint of the list, so a list that changes is asked about again; elsewhere--allow-programs.checkno longer starts an input's program or connector unless allowed: it prints the list and exits with code 3. Aservereload whose list grew is refused. Deployments that start nothing (the examples, the samples, a playground Download) run as before (Programs need your permission). elucid8 mcp: its tools read and write only inside the folder it works in (--dir), including every file adeploy.jsonnames, after.., absolute paths and symbolic links;check,runandshowrun a deployment that starts programs only when its folder has.elucid8-allowed, or after the user's yes to the list asked through the assistant's app (MCP 2026-07-28's elicitation);write_deploymentwrites no program, and only connectors the user named topropose_bindings; every tool says that data in its results is data, never instructions, and long texts from the data are cut short (300 characters).run,checkandshoware no longer marked read-only. The hosted server's tools say the same about data.
AI assistants
- The hosted MCP server asks assistants to sign in: ChatGPT, Claude and other assistants connect to
https://elucid8-lang.org/mcpwith OAuth, as MCP describes, and you sign in on elucid8-lang.org and allow the assistant once. Each account may make 2,000 requests and 200 runs and checks a day through it. My programs lists the assistants you allowed, under Connected assistants, with Revoke. - The reference for AI tools (served as
/llms.txtand/llms-full.txt) teacheselucid8 window, with a worked app, and lists, records and sets, with a worked shopping cart; both are run by a test as written.
Faster
- An iteration that reads itself at an earlier step it computes runs in compiled loops: a drawing with unlimited undo (
saved = canvas[t = top - 1], the step a stroke began) computes each turn from the level that step names, and an undo or a clear shares that level whole. At 1920 × 1080 inelucid8 window, a pen move takes 2.4 ms from event to frame and an undo 6 ms, also after a thousand events (before: per element, seconds a turn). elucid8 servekeeps an iteration's newest levels between requests: a value computed level by level along a dimension (a drawing's canvas turn by turn, a running state) is computed only from where the last request left it, as long as the rows that arrived since come after what it read. The Player's drawing at 512 × 384 cells: about 2.5 ms in the service an event whatever the history, against 150 ms after 100 events and 1.5 s after 1,000 before, and 60 MB at peak against 5.2 GB. Rows that fill a gap, a window, a new file or a reload start it again from the beginning, with the same answers.- A level that equals the one before outside a condition is computed only where the condition may hold: a drawing's canvas at each turn is the one before with the turn's stroke, so a turn now computes the 64 × 64 tiles the stroke may reach and shares the rest with the turn before: about 0.1 ms a turn at 1920 × 1080 (10 ms before), the whole canvas asked for in 3 ms (10–11 ms), 1,000 events a second taken at 1920 × 1080 with none dropped (about 150 before). The newest 100 turns are kept, sharing their unchanged tiles (
historyDepthin a deployment's options sets how many). Answers are unchanged. - One request computing a long history (the first after a start, or
elucid8 run) no longer keeps what each level read until it ends: the drawing at 512 × 384 after 1,000 events takes 1.0 s and 60 MB, against 1.6 s and 5.2 GB. - A subscription's answers cost what its cells cost: with
send: changed, each answer is compared with the previous one cell by cell (by position over the same box, by coordinates over a boxlastmoved), instead of writing every point's context and outcome as text to look it up; and a frame is written from the answer's arrays. The cells sent are the same. The Player's drawing at 512 × 384, followed live at 60 events a second: about 5 ms from an event to its answer, against 180 ms, and 48 MB at peak against 200 MB. A whole frame asked for at 1920 × 1080 is answered in about 45 ms, against 88 ms. - An iteration that reads a comparison with a text runs in compiled loops: a value with no compiled loop of its own (such as
clear = kind == 4 and key == "c", which compares with a text) read by a value computed level by level made every element of every level computed one at a time. It is now computed point by point first, and the levels read it as they read any other value. The drawing with a clear key at 512 × 384 over 62 events: 24 ms, as with the key written as a number, against 15 s; the drawing with tools (pen, rectangle, circle, clear, undo) at 1920 × 1080, 13–40 ms an event with the levels shared as tiles, where an event took seconds and the time grew with the history. A clear or an undo that changes most of a canvas is now computed as one whole level rather than tile by tile (at 1920 × 1080, 70–85 ms against 350–400 ms). - An iteration that cannot run in compiled loops is computed a step at a time and kept: values that iterate together along a dimension but have no compiled loop (the editor example's document, cursor and undo stack, which compare keys with texts) were computed one point at a time, the whole history again at every request. In a deployment they are now computed a whole step at a time, element by element, and
elucid8 serveandelucid8 windowkeep the newest steps (historyDepth) and the steps an undo reads, so an event computes only its own step. The editor inelucid8 window: about 2 ms from a key to its frame, the same after 3,000 events (before: 14 ms after the first 100 events, 90 ms after 200, growing);elucid8 runkeeps them from one query to the next too.elementLevels: falsein a deployment's options computes them point by point, as before. - A box asked of an iteration is delivered from its levels in runs, not point by point, by
elucid8 serveandelucid8 run, also when the box ends in one coordinate of the dimension it iterates along (canvas[x = 0..511, y = 0..383, t = 99]): the heat plate at step 1,000 is about 5% faster. - A subscription whose box moves along
lastsends only what changed: an answer whose box kept its shape and moved only along dimensions given withlast(canvas[t = last, x = …, y = …],total[t = last - 9 .. last]) is a partial frame withshift(how far it moved, by dimension), its cells compared by position with the previous answer's, instead of a whole frame each time (serve.md, §4). The Player's drawing at 1920 × 1080 followed live at 60 events a second: about 11 ms from an event to its answer, every event answered, 281 MB at peak (before, the client fell behind and the service reached 14.5 GB); at 512 × 384, 2.5 ms against 5.1 ms. - Those answers cost what changed: for a value whose levels share their unchanged 64 × 64 tiles (a drawing's canvas), an answer whose box moved along
lasttakes only the points in tiles that changed between the two levels, and compares those; the rest are not even looked at. The cells sent are the same. The drawing at 1920 × 1080, subscribed: about 0.15 ms in the service an event, against 2.8 ms; 1,000 events a second followed with an answer 12 ms after an event (median), against 15 ms.elucid8 windowhands its window only those cells, and the window colours only the ones that changed: at 1920 × 1080 and 60 events a second, 0.9 ms from an event to its frame (median), against 4.0 ms; at 512 × 384, 0.75 ms against 1.3 ms. A whole canvas asked for with a query is still a whole frame. - The Player applies those answers: it keeps the cells it holds, takes the answer's axes (cell i stays cell i) and sets the cells sent. An answer it cannot apply (no frame held) is asked for whole, at the versions it was computed at, or the view is followed afresh. Before, it read such an answer as a whole frame, so a live drawing or board showed its cells as not computed. The drawing in the Player at 512 × 384 and 1920 × 1080 (a 512 × 512 window): about 25–35 ms from a pen move to its cell painted with the mouse and 43–57 ms with a finger, as before (the browser's frames, not the answer, are most of it).
- Values derived from an iteration keep its levels: a value whose compiled loop reads an iteration's steps (a spreadsheet's formulas over its cells, an inventory's totals over its stock) now has the iteration computed level by level and kept between requests, instead of one value at a time from the first event. Through
elucid8 serve, a spreadsheet of 100 × 26 cells after 600 edits: 0.11 ms an edit, against 739 ms and growing; totals of every product of a 2,000 × 500 inventory: 1.4 ms a request, against 645 s. - Games whose state is one value a turn (Paddle, the moon lander) have that state computed turn by turn and kept, and their pictures computed in compiled loops. Paddle through
elucid8 serve: 0.8 ms a frame after 1,000 ticks and 1.2 ms after 50,000, against 2.4 ms and 3.1 ms; in a window, 1.2 ms from a tick to its frame, against 2.8 ms; the moon lander 1.1 ms a frame, against 27 ms. Slower: the moon lander's first frame after a start with a long history, 48 ms at 10,000 events and 232 ms at 50,000, against about 30 ms, since its state is now computed from the first event. - A batch of events in a window costs its own steps, not the whole history: the drawing with a status line (
draw-status) in a window falling behind took 2.4 s an event after 3,000 events; it now takes about 1 ms after 3,000 events (0.6 ms after 100). - A long history caught up in one request stays in compiled loops: the drawing with tools and colours, 2,874 events in one request, in 1.8–2.0 s (before, it had not finished after 120 s).
- A compiled loop computes a part written several times once: a function called several times with the same arguments in one value (Flak's picture calls its burst and plane functions dozens of times) is computed once a chunk of cells. Flak's picture is 2.4 times cheaper; in a window, about 3 ms from an event to its frame, against 4.8 ms.
- An iteration too large to keep whole keeps the points requests asked: the editor on a 100,000-line document, through
elucid8 serve, takes about 0.7 ms a key, the same after 3,000 keys, against 370 ms and growing; what it keeps is bounded (16 MiB). About 1% of keys, those bringing back into sight a line not seen for a long time, take 20–220 ms. - Steps whose points carry timestamps share their unchanged lines: an iteration too large to keep whole now keeps a line once for every step it is unchanged in, even though each step's points carry that step's time. The editor with a file field on a 10,000-line file, Page Down and Up through
elucid8 serve: about 18 ms a page, against 93–101 ms. - Walking back through the steps where a point is unchanged: for such an iteration, a line asked at a step is found at the step where it last changed, without computing it at every step between. The same editor and file, measured again with the step above: about 11 ms a page through
elucid8 serve, against 26 ms; in a window, about 75 ms from a page key to its frame, against 240 ms.
Documentation
- Is it safe to run? A Learn page on what a program, a deployment and the command can do on your computer: a program has no I/O of its own; a
deploy.jsoncan start programs (once you allow it), read files anywhere your account can, and write outside its folder where it says so, so read it (andelucid8 check's lines) before running one from someone else; CSV results opened in a spreadsheet; AI assistants; checking a download; running a service (Is it safe to run?). - Programs in a window (above), and the window apps and the page's four small programs in the examples download, under
window/, with a README. - How eLucid8 fits together says the ways to run a program (
run,serve,window,repl,mcp), where it runs, from a Raspberry Pi to the cloud, and how results are drawn.
Fixed
- A subscriber that reads slowly no longer makes
elucid8 serve's memory grow: over HTTP, a subscription is not run again while its client has not read its last answer; once it has, it runs once at the newest data. So a slow viewer gets fewer answers, each at the newest data, and the service holds at most one unwritten answer for it (witheverytoo). Before, every answer waited in memory: a 1920 × 1080 drawing followed live reached 14.5 GB.statsand/metricscount the runs left out (skipped,elucid8_subscription_runs_skipped_total).
#0.22.0 (30 October 2026)
The language
asa,wvrandupon: Lucid's operators, with the dimension named:y wvr.t q(y at the times q holds),y asa.t q(y the first time q holds),y upon.t q(y moving on each time q holds) (Tutorial, section 5). A program that uses one compiles to plan version 20, which earlier releases refuse; every other program is still version 19. Their rules for gaps and errors in the condition, timestamps and bounds are provisional and may change. Over a long history, asking for every point ofwvrorupontakes time that grows with the square of its length (about 3 s for 10,000 points from 30,000 positions); asking for one point is fast (a few milliseconds). Computing them in one pass along the history comes later.- A program may write the channel it reads:
data = input("data", row, col)withoutput("data") = datacompiles (before, a compile error). Such an output goes by default todata-output.csv(or-outputwith its format's ending), never to the file the input is read from;elucid8 check --write-configwrites thatto, and atonaming the input's own file is refused.
Data coming in
- Inputs given rows over time, with no script: an input's
frommay be a built-in clock,{"builtin": "clock", "every": "100ms"}(a row a tick over its one dimension,t= 0, 1, 2, …, its value and timestamp the tick's time in milliseconds; optionaluntilandstart), or a replay of a CSV or JSON-lines file,{"builtin": "replay", "file": "readings.csv", "every": "1s"}(one coordinate of its first dimension a tick;"loop": trueto start again).elucid8 serveappends their rows as they come due, asadvancewould, so subscriptions,lastand the Player's live mode follow them;statsanddescribelist them underfeeds.elucid8 run, which computes once, refuses them (Inputs given rows over time). - Rows read wide: with
"row"and"wide"together, a row's position is its line's:a,b,cwith rows1,2,3and4,5,6is rows 0 and 1 (before, each cell had a position of its own). - Files read wide: a column
c_ts,c_kindorc_errorbeside a value columncis read with it (its timestamp, kind and Error) rather than as a value column of its own; and where the program does not say the wide dimension's kind, a column name that is a whole number written plainly (2024) is a number coordinate (before, always a text; a quoted name stays a text).
Results going out
- Outputs written wide:
"wide": "col"on an output's entry writes a row per coordinate of its other dimensions and a column per coordinate ofcol(CSV, Arrow, Parquet), so a table read wide comes back as it was read: read and written with"row": "row", "wide": "col",a,b,c/1,2,3/4,5,6comes back byte for byte. In CSV a cell's timestamp, when asked for, is a column<coordinate>_ts; Arrow and Parquet have<coordinate>_kind,<coordinate>_errorand<coordinate>_tsbeside each column. Refused, before computing, for channels side by side, JSON lines and the grid formats, a stream's dimension, therow, a partition or parts cutting the wide dimension, and columns that would share a name. - Outputs that leave out eod records:
"skip": "eod"on an output's entry leaves out the records whose value is eod (side by side: whose every channel is eod; written wide: rows whose every cell is eod); errors are always written. In every format with records but NumPy, Zarr and frames, which are grids and refuse it. - Arrow files by their ending: an output to a file ending in
.arrowor.featheris written in Arrow's file format (before, it was written as CSV),.arrowsas a stream; an output file whose ending says no format the command knows, with noformatin its entry, is refused, naming the endings it knows.elucid8 run --out x.arrow(or.feather) writes a query's table the same way; before, such a name was written as JSON lines.
The command
- The program and configuration in the folder:
elucid8 run,check,infoandservewith no program named useprogram.el8in the current folder (compiled), elseplan.json; with no--config,run,checkandserveuse thedeploy.jsonbeside the program (--no-config: none). What was found rather than named is said on standard error.elucid8 compilewith no program named compilesprogram.el8intoplan.jsonbeside it. - Messages:
serve --httpon a port in use names the program holding it, where it can be found, and suggests the next port;lastwith no data yet says so ("no data has arrived along t yet, so there is no last: send rows to input "reading" first"); a program error through an output's expression names the output's channel (x[t = 0]); the WebAssembly module's refusal of an input answered by a program says so in those words.
AI assistants
- A live demo in one call:
elucid8 mcp'sshowaccepts inputs given rows over time and follows them live, so an assistant can start a live sine wave, or replay a sensor file, in the Player with nothing for you to run;write_deploymentwrites them (providerfeed). The hosted MCP server, which runs no services, refuses them. write_deploymentandelucid8 initwrite outputs wide or leaving out eod records: an output may carry"wide","row"and"skip": "eod", written intodeploy.jsonand checked in the command's own words, so an assistant sets them through the tool;elucid8 init --outputtakes them after a space ('all:t,q=all.csv wide=q skip=eod'). Both MCP servers give the same files.describelists a version-19 program's output channels, and suggests the first output's value, so the Player opens on what the program writes.- The playground's program writer knows
asa,wvrandupon, and writes an output under the channel it reads where a description asks for that.
The playground and the Player
- Output cards: "Columns by" writes an output wide, "rows numbered by" names its row dimension, and "Leave out rows that are eod" leaves those records out; all three are saved with the program, written into the Download's
deploy.jsonand README, and followed by Download results. - The Player's live row grows as points arrive, up to 200, then slides; before, it kept the number of points it had when the page opened.
- A new example, "Splitting rows: passed and failed", with
wvr.
Fixes
elucid8 mcpon Linux stops only its own processes: when a call was cancelled or ran out of time, the command stopped the call's process group with the system'skillcommand, which on some Linux systems (Ubuntu 24.04's procps-ng 4.0.4) stops every process the user owns. It now stops the group directly, and only that group. This affected 0.18.0 to 0.21.0 on Linux.- A connector read wide with
row: the rows a connector sends for one table row share that row's position, as the same file's do (before, each was numbered on its own).
Speed
- Faster exact sums of products over small regions: an exact
sumormeanofa * bover a few elements (the network's 3 × 3 patch inpre, its 8 units inout) reads both factors straight from their arrays, a term at a time, instead of gathering a column per factor and per product; the answers are the same, to the bit. The network's training step (lossat 60 and 200 steps, exact sums, measured withelucid8 queryon an Apple M5 Max, best of 3 interleaved runs, load 1.5–4) went from 3.16 to 2.40 ms on one thread (−24%) and from 0.53 to 0.45 ms on 18 threads (−14%), against 0.21.0. - The sensor-field example's stream asks for Arrow:
examples/sensor-field/stream.pysends its requests over HTTP (elucid8 serve --http) and reads each tick's alerts as Arrow by default;--jsonasks for JSON frames over HTTP,--stdinsends the requests over standard input as before. At 256 × 256 sensors over 120 ticks, with 0.21.0, a tick (the rows sent,advance, the query and its answer read into NumPy) took 12.7–12.8 ms (median) against 16.5–17.5 ms over standard input and 16.6–16.9 ms with JSON frames over HTTP; the query itself about 3.5 ms in each.
Learning
- The Tutorial teaches every feature above with examples a test runs as written:
asa,wvrandupon(section 5); a gap filler, a ledger and an echo that write the channel they read (section 10); running programs from the terminal, leaving out eod records, an output written wide, a replay and a clock withelucid8 serveandelucid8 repl(section 12). The Quick reference, "Where data comes from and where it goes" and the Python page have them too.
#0.21.0 (27 October 2026)
elucid8 repl URL, a prompt for asking a runningelucid8 serve --httpfor values in the language's notation (total[t = last]), with plain answers (eod aseod, an Error in words);watch QUERYprints the points that change as data arrives, until Ctrl-C;show QUERYopens the eLucid8 Player on the query;spark QUERYdraws a row as a sparkline, or a small grid as shaded blocks, in the terminal;describeandstats. Piped, it reads one query a line. It only asks, through the service's public HTTP endpoints, and takes no data (From a terminal).- Inputs by convention: an input that nothing binds reads
<channel>.csv(or.jsonl,.ndjson,.parquet,.arrows,.arrow) beside the configuration, or beside the program when there is no configuration, as{"from": "<channel>.csv"}would; so a program whose files are named after its inputs runs with nodeploy.json. Two such files for one channel are refused, naming them; none is refused, naming the files looked for and the entry that would bind one. Inputs answered on demand still need their entry (Inputs by convention). "time": "none"on a stored input reads no timestamps from its file: every point's timestamp is 0, and a columntsis ignored like any other.elucid8 check --write-config [FILE]writes a completedeploy.jsonfrom whatcheckdecides: every input with itsfrom(files found by their names included), the lines the readers assume ("value": "value","time": "ts","missing": "eod"), the kinds of an input answered on demand that another input's data decides, and each output's file and format, in a fixed, readable order; it prints what each added line means, and names what it cannot decide with the line to add. Written again from itself, it gives the same bytes. It writes beside the program (or the configuration), and replaces a file only with--force. A message that names a missing line says how to get it: run--write-config, or paste the entry it gives.elucid8 init program.el8starts a deployment from a program: each input bound to the file named after it, else to the one file in the folder whose columns hold its dimensions; it asks only for a file or provider for an input with none, and for a kind no data decides (--yesasks nothing), writesdeploy.jsonascheck --write-configwrites it, then checks it and asks the first points.elucid8 checkshows each column's role under each stored input:columns: t (coordinate), value (value), ts (timestamps, assumed from the name), note (ignored), with mapped, wide and row-position dimensions shown as they are read, andfound beside the programfor an input bound by convention.- Faster statistics:
variance,sample_variance,stddev,argmaxandargminover regions are computed in compiled loops whereversumandmeanare, with the same answers as before. - The eLucid8 Player: links a person can type,
/player?value=heat&play,/player?value=heat&step=300,/player?value=x&live(the view's fields by name, a coordinate by its dimension's name; Links you can type); a key still goes only in the fragment. Pictures show no seams between cells at any size or pixel ratio, and a row's chart, live or not, fits the window instead of losing its left edge. - An input answered on demand takes the kind of a dimension from another input's data: a dimension the program leaves open, read by a stored input whose data list coordinates along it, is decided by that data when the deployment is loaded, so its
"kinds"need not be written. With no such data, the message says what was looked at:the kind of amount (in input "m") is not known: the program does not say, and the data of input "p" list no coordinate along amount; …. - Messages in the words of
elucid8-deploy/2: a data file whose name does not say its format names the formats as format 2 writes them ("format": "CSV", "JSON", "Parquet" or "Arrow") and the fieldfrom;sum_servicewithoutlatencyMssayssum_service needs latencyMs. - An output channel is named by its channel in frames, the report and warnings (
"name":"x", not the name the compiler gives an expression,x#output);describe(and the Player) names a version-19 program's inputs"kind": "input". - Files name their answer columns after their channel, so what one program writes is read as it is by another program's input of the same name, with no mapping:
<channel>_valueand<channel>_tsin CSV (t,x_value, where 0.20.0 wrotet,value), and<channel>_value,<channel>_kind,<channel>_error,<channel>_tsin Arrow, Parquet, NumPy (x_value.npy, …), Zarr and Vega-Lite; channels side by side the same, one set each; a query's columns after the value asked for (name,t,ratio_value). Coordinates keep their dimensions' names, so a dimension namedvalueortsno longer clashes with an answer column. JSON lines, frames and Constant are unchanged. Inputs read<input>_valueand<input>_ts, or plainvalueandts(the column named after the input wins where both are there);"value"and"time"in an input's entry still name any column. The Python package's tables andto_xarrayuse the same names.
#0.20.0 (25 October 2026)
inputandoutput, plan version 19. Data from outside is writtenx = input("x", t : 10): one value over the dimensions the input names, a whole equation, each channel read once; a dimension named alone (input("s", zone, t : 3)) is open. An input takes no arguments: a value asks it at a point by navigation (model[amount = payments]). What a program gives out is writtenoutput("report") = e, one value per channel, as many channels as it needs (or none); nothing reads an output, and a program that reads and writes the same channel is a compile error. Channel names are letters, digits,_and-. Whether an input is stored data or a program answering on demand, and where an output goes, are the deployment's, so the program is the same either way. Every program compiles to plan version 19;source(…),service(…),absent 0and the output functions (out = CSV(a, b)and the others) are compile errors, each with the form to write. The command reads plans of versions 18 and 19: compile again, or download again from the playground.deploy.jsonformatelucid8-deploy/2, for plans of version 19:inputsby channel, each withfrom(a file, versions of a file, a connector, a program serving rows, or a program answering on demand), andoutputsby channel or by file. A version-19 plan with a configuration of format 1 is refused with a message saying what moved; plans of version 18 keep format 1 (The configuration file).- Inputs answered on demand: an input's
frommay be a built-in (sum_service,simulated,anomaly_detector), a recording, or a program of yours ("answers": true, speakingelucid8-input/1), with its deadline, retries and reuse in its entry. A question starts at the latest timestamp of the coordinates it is asked at; an input read where one of its dimensions is missing is eod, and nothing is asked. A program may answer that it has nothing at a point ({"none": true}), which reads as the entry'smissing.recordwrites a run's answers to a file that"from": {"recording": …}replays at the same times (Inputs answered on demand). - What a missing point reads: an input's
missingis"eod"(the default),"error"(the error "input x has no data at this point") or0, for sparse data where no row means nothing happened. - Real coordinates: a dimension that is only looked up, never counted or moved along, may hold any finite number (
amount = 12.5), in programs, data and queries. A dimension's kind may be given in the deployment where nothing else decides it ("kinds": {"amount": "real"}), and is checked against every coordinate sent. - Reading files, in more shapes:
widereads a file with a column per coordinate (t,temperature,humidityas an input overquantity), in CSV, JSON lines, Parquet and Arrow;columnsnames the column holding a dimension when it is not named after it ({"t": "minute"}), or reads datesYYYY-MM-DDas whole days since 1970-01-01 ({"day": {"column": "date", "as": "days"}});timemay be ISO 8601 texts ({"column": "when", "format": "iso8601"}).elucid8 servereads appended rows and whole-file advances the same way. - Channels side by side: an output entry named like a file lists channels written into it a column each (
"report.csv": ["running", "ratio"]), for channels with the same dimensions and rows;elucid8 checkrefuses them otherwise, naming each channel's dimensions or rows. Under a name that is no channel's,channelswithtowrites them side by side to a database or a program. An output'sordersets the columns' order. - Outputs in parts:
--rows "customer = 0..9999"(or"rows"in an output's entry) writes only part of an output's rows, a run each. In one run,"partition": {"customer": 10000}or{"zone": "values"}writes an output as a folder of files, a part each (customer_range=0-9999/part-0.parquet,zone=north/part-0.parquet), in Parquet, Arrow, CSV or JSON lines, which DuckDB, Polars, pyarrow and pandas read as one table; and"parts"lists the files, each with its own rows ([{"rows": "customer = 0..9999", "to": "part-0.parquet"}, …]). The data are read once; every part has the column types of the first. The markets example writes its chunks so, in the time 0.19.0's scripts took (1.19–1.27 s at medium size against 1.17–1.20 s). - An output as a stream: an output over a dimension with no end that reads no data along it is written forward from 0, a tick at a time, flushed as it goes, paced by
every("1s") and ended byuntil(or by Ctrl-C or SIGTERM, after the tick being written), in CSV, JSON lines or to a program. Underelucid8 serve, streams run between requests, and{"op": "subscribe", "output": "light"}gets each tick's records as they are written. elucid8 serveby channel:advancenames an input by its channel ({"op": "advance", "input": "x", "rows": …}, orPOST /inputs/x/rows); an output whose rows are the data's grows with the rows that arrive.- Starting from your data:
elucid8 initreads data files, a folder or a connector, proposes how each is read (its dimensions and their kinds, timestamps, values, what a missing point reads), asks what comes out where (or--yes), and writesdeploy.json, a startingprogram.el8that compiles,bindings.jsonand a README, then checks them and asks the first points. A program with no inputs or no outputs is allowed.elucid8 mcpdoes the same with its toolspropose_bindingsandwrite_deploymentand its promptstart_program. - Start from my data in the playground (on a computer): the first entry of Start from… reads your files in the page, proposes their inputs, asks for the outputs, and makes the program the next version, its first question asked at once; its Download holds your files as loaded. A file too large for a saved program is left out of Save, and its card says to load it again.
- The hosted MCP server at
https://elucid8-lang.org/mcp, for assistants that add MCP servers by address, ChatGPT among them, with no sign-in:compile,check,run(small programs with their data given in the conversation, on the site's WebAssembly module),explain,propose_bindings,write_deploymentandlanguage_reference, each result with a program giving an Open in playground link; rate-limited, with daily caps. - The reference as a tool:
elucid8 mcp's newlanguage_referencegives the reference for AI tools, whole or one section, for assistants that use tools only; every program tool tells the assistant to read it first, and a compile error ends by saying so. Every tool's structured result holds its text too. - Messages say "input": for a plan of version 19, the command's messages, notes and reports name inputs (
input x has no data at this point); version-18 plans keep "source". - Texts take JSON's escapes:
"a\"b","line\n","caf\u00e9", as queries and messages write them; a backslash before any other character is a compile error naming the escapes, and a control character in a text stays refused. - Less recompute: before a box query is computed, the boxes each value reads are planned and joined where they overlap, so a value is computed once over their union instead of once per box; a group of values that iterate together keeps the level below its newest, so a reader one level down does not compute the group again (the XOR example's question 5.9 → 3.3 ms).
"auditRecompute": truecounts every value computed twice, and why, in the--report. Against 0.19.0 on the published examples at full size: the sensor field's batch 8–11% faster, the others within 4.3%, the answers identical. - The Python package in version 19's terms:
elucid8.run(program, inputs, …),elucid8.Service(program, inputs, …)andelucid8.showtake each input by its channel, including an input answered on demand given as its entry ({"from": {"builtin": "simulated", "answer": "score"}, "deadlineMs": 200});elucid8.Inputreplaceselucid8.Source, andservices=is gone;outputs=names the output channels, or channels side by side ({"rows": ["running", "ratio"]});Service.advance(input, rows)appends to an input by its channel; a configuration given asconfig=iselucid8-deploy/2(eLucid8 from Python). - Sample data files: one small dataset (three sensors over six hours, with a gap and an error) in every form the command reads: CSV plain, with times, ISO times, dates as days, wide and with renamed columns; JSON lines of values and of outcomes; Parquet plain, Snappy and with dictionary pages; Arrow streams and files; a name map; a missing point as an error; and a ZSTD Parquet file the command refuses. Each with its program,
deploy.jsonand the answers it gives, as a download on the Deploy page. - The playground: Data In/Out has a card per input and output channel (stored data or a program answering on demand; what a missing point reads; where each output is written, alone or beside another channel), and the Download writes
deploy.jsonformat 2. An input with no data at all answers the errorinput "x" has no data: give it rows, or a provider that answers it, so a misspelt channel shows at once. Comments can be hidden and shown in the editor and in the phone viewer's Program sheet (Hide comments), the setting remembered; editing with them hidden keeps them exactly. - Saved programs in earlier notations are not kept: programs saved on the site that no longer compile are deleted, not converted.
#0.19.0 (23 October 2026)
A revised notation, plan version 18. A value at a point is written
x[t = 4](it wasx @ {t = 4}), in programs, queries and messages alike; a value bounded to a region isrestrict E to (t : 10) end(it was(t : 10) | E). Programs in the earlier notation are refused, each with the form to write. Plans are version 18, which 0.17.0 and 0.18.0 do not read: compile again, or download again from the playground.Coordinates are whole numbers or texts, on any dimension, with nothing declared:
sales[region = "north"], a list of texts in a region or a restriction. Each dimension holds one kind: the program decides it where it can (a text in[d = …]or a list: texts; counting, ranges, moves and arithmetic: numbers; both: a compile error), and otherwise the data (a CSV column of whole numbers written plainly holds numbers, any other column texts; Parquet, Arrow and JSON lines by type). Sources that disagree are refused, naming the file and line. Named constants are gone.Errors that need a number say what they found:
+ needs numbers, found text "north"; andcoordinate d = 1.5 is neither a whole number nor a text.An output along a dimension the program does not bound writes a row for each coordinate the data its values read lists there (numbers ascending, then texts), with no row for a gap.
Learn: a Quick reference, every construct with an example and twenty complete programs from simple to larger; and an Open in playground button under every complete program on the Learn pages, opening it with its data and question.
The eLucid8 Player:
elucid8 serve --httpservesGET /player, a page that shows a value as a picture, a chart or a number and plays it along the dimension it iterates along, anddescribe(elucid8 serve).The command compiles programs itself, offline:
elucid8 compile program.el8 -o plan.jsonwrites the plan the website and the repository's compiler give, byte for byte (but forengineVersion,elucid8-rs/…), with no Node.js and no network; a compile error asfile:line:column: message, exit code 1.run,check,infoandserve(and itsreload) take the program where they take a plan.elucid8 mcp'scompileand the Python package'selucid8.compileuse it by default (compiler: "web"asks for the website's endpoint). Checked on 14,448 programs, every one the same plan or the same error, and on the conformance suite.Seeing your results:
--format zarr(or a path ending in.zarr) writes a Zarr v2 store, with each value, its kind, its timestamps and its errors, read by xarray and zarr-python;--format vega-lite(or.vl.json) writes a Vega-Lite v5 chart with the data inline, a slider over the dimension the value iterates along;elucid8 serve --httpanswersGET /valueswith the values of queries named in the configuration'shttp.values, in Prometheus's format, for Grafana; and the Python package gainselucid8.to_xarray(Seeing your results).Charts from
elucid8 mcp: theruntool gives each query over a box as a chart too, the Vega-Lite v5 spec--format vega-litewrites, in the result for the assistant to render or save and open;chartisauto(charts of at most 1,000 cells),inline(up to 100,000) oroff(Connect your assistant with MCP).The eLucid8 Player from an assistant:
elucid8 mcp's new toolshowtakes a program and its data asrundoes, startselucid8 serveon this machine in the background and opens the Player in your browser on a value: a picture that plays, a chart or a number, from a link holding a read-only key (open: falsegives the link only;urlasks a service you started). Such a service runs until the assistant stops it, its session ends, or an hour passes with no request; at most three at once (Connect your assistant with MCP).elucid8 mcpover HTTP:elucid8 mcp --http 127.0.0.1:8765serves the same tools, resources and prompt over MCP's Streamable HTTP transport, at/mcp, for assistants that add servers by address; on this machine only unless a token file is given (--token-file), with requests from other websites refused (Over HTTP). Its answers now write each point's dimensions in the order the query named them (heat[x = 1, y = 2, time = 0]).elucid8 infoandcheckin the current notation:infolists each dimension with the kind of coordinates it holds, sources as the program writes them (x = source(x, t : 6)) and values with the dimensions they vary along (running over (t));checkno longer counts clocks (1 source, 0 services bound).Timestamps in CSV only when asked: a CSV file the command writes (a query's results, an output's records) has no
tsorv_tscolumns unless asked:--timestamps,"timestamps": truein the configuration'soutputor on an output, ortimestamps=Truein the Python package. JSON lines, Arrow, Parquet, NumPy, Zarr and Vega-Lite keep them, unless--no-timestampsor"timestamps": false; frames,elucid8 serve's replies and the MCP tools always do (Timestamps in files). A CSV file read and written back by a program gives the same file.A file with no column for its rows: a source binding's
"row": "i"reads each row's position in the file (0 for the first row after the header) as the source's dimensioni, so a spreadsheet'sname,city,ageservesname = source(name, i : inf); an output's"row": "i"writes its records back in that order, with noicolumn. Inelucid8 serve, appended rows continue the positions (A file with no column for its rows).Numbers written as text: where two shortest decimals are equally close to a number, the command now writes the even one, as JavaScript does (for example 1125899906842624.25 is written
…624.2, not…624.3), in messages, CSV cells and the simulated data service's draws; such numbers are rare, and the playground already wrote them so.A point is written in square brackets everywhere, as a program writes it: queries (
--query 'running[t = 0..5]',deploy.json'squeries,elucid8 serve, the Python package,elucid8 mcp) and every message and answer that names a point (demand depth limit … -> running[t = 952]). A query in the earlier form,running@{t = 4}, is refused with the form to write; every query message quotes the query as a JSON string.A restriction is written
restrict E to R end(it was written withover, which is an aggregate's word): the earlier form is a compile error that says to writeto. A restriction may name some of its expression's dimensions and leave the others open, asrestrict reading to (t : 10) endwithreadingovertandx; outside it there is no data (eod at time 0).A dimension named alone in an aggregate ranges over the data:
sum sales over (region) endaddssalesat every coordinate the data has alongregion, whole numbers in ascending order, then texts; coordinates with no data are left out. It is the rule an output already follows along a dimension the program does not bound.aftergives eod when nothing comes later (it gave one past the last position with data).Spaces never change the meaning:
x [t = 0]isx[t = 0],max (x) over (t : 5) endismax x over (t : 5) end, and250 msis250ms.A search along a dimension of texts is a warning: a text is never a candidate, so
asof.kover a dimension the program gives texts finds nothing; the compiler says so.
#0.18.0 (21 October 2026)
elucid8 serveover HTTP:--http HOST:PORT(or the configuration'shttpsection) answers the same requests over HTTP as on standard input, from several clients, in one queue in arrival order; subscriptions as server-sent events; answers as Arrow for a client that asks for them; a bearer token from a file (--token-file), and loopback only without one;/healthand/metrics(Prometheus); limits on bodies, connections, subscriptions and time (Over HTTP). No TLS: a proxy in front gives it. Requests from other websites are refused: a foreignOrigin(403), without a token aHostthat does not name the address listened on (403, against DNS rebinding), and aPOSTwithout its content type,application/jsonor, for rows,text/csvor JSON lines (415); no CORS headers are sent.elucid8 servestops cleanly on SIGTERM and SIGINT (whatdocker stop, systemd and Ctrl-C send): it takes nothing more,/healthsaysstopping, the requests already received are answered, subscriptions end, and it exits 0. A second signal cancels what is running and waiting (Signals)./metricsgainselucid8_requests_waiting.- eLucid8 from Python: a Python package,
elucid8, runs programs with pandas or Polars DataFrames and pyarrow tables in and out (elucid8.run), keeps one loaded as a service over HTTP with queries, new data and subscriptions (elucid8.Service), and compiles programs (elucid8.compile). Its wheels for macOS, Linux and Windows bundle theelucid8command of their release (eLucid8 from Python). It is on the Python Package Index:pip install elucid8. The package there also has fixes made after the release's wheels were built: answers give the same DataFrames on pandas 2 and 3 (text columns as object columns, a missing cell asNone), and on Windows the package and its connectors read and write UTF-8 (messages with←or×failed before). - Connectors by name: a source, or an output's destination, may name one of the Python package's connectors in
deploy.json,"connector": "postgres"with itssettings(a table or a query), instead of a program of your own; the command runs it with the PythonELUCID8_PYTHONnames, elsepython3(Connectors by name). The connectors, each with its client library as an extra (pip install "elucid8[postgres]"): PostgreSQL, DuckDB, MySQL and SQL Server (a table or a query as a source; records upserted by their key as a destination); Amazon S3 and compatible stores (CSV, JSON-lines and Parquet objects as sources; a Parquet object as a destination); Kafka and MQTT (a topic's messages, and messages per record, with a stream runner that sends new messages to a runningelucid8 serve); HTTP (JSON, JSON lines or CSV from a URL; a POST per batch to a webhook); and Snowflake, BigQuery and Databricks as query sources, not yet run against the warehouses themselves (Connecting eLucid8 to your data). MySQL and SQL Server cannot hold NaN, infinities or −0, SQL Server not the smallest numbers, and DuckDB not −0 apart from 0: a destination refuses such a value, saying so. Settings never hold credentials: a field named like one, or a URL with a password, is refused. elucid8 mcp, for AI assistants: the command speaks the Model Context Protocol on standard input and output, so Claude Desktop, Claude Code, Cursor and Codex can compile, check and run programs on your machine and data, explain an error's origin, and ask a runningelucid8 serve --http; every answer is the command's own. It reads only the files a tool is given and writes nothing but temporary files; it compiles with the site's endpoint, or offline withELUCID8_COMPILER(Connect your assistant with MCP).- Running as a service: a Dockerfile and a Compose file for the command (
packaging/docker/), and a page on Docker, systemd, launchd, HTTPS with nginx or Caddy, health checks, Prometheus and logs (Running eLucid8 as a service).
#0.17.0 (20 October 2026)
- A source names its own dimensions. A source over dimensions names them in the call, each with its bound:
x = source(x, t : 1000),source(s, h : 24, absent 0),source(reading, tick : inf, x : 256);source(rate), naming none, is one value. The form before,x = (t : 1000) | source(x), is a compile error that says how to write it. Programs saved on the site in that form no longer compile. - A bound names only dimensions its expression has.
(t : 10) | 1and(t : 10, x : 3) | #tare compile errors (1has no dimensiont;#tnonex). A value that should exist over a range depends on its dimension, for example(t : 10) | 1 fby.t 1. The same holds for a data service's bound and its inputs. - A dimension with no bound written is bounded by
inf.n = 0 fby.t n + 1compiles (it counts for ever), and(t : inf)may bound any value. A data service may be called without a bound,score = service(scorer, x), over its inputs' dimensions. What needs an end still says so: an aggregate over a region with no end, of a value with no bound there, andasof,holdorwindowalong a dimension where neither the value nor its data has one. - A bound names exactly the dimensions of what it bounds.
(t : 10) | reading, wherereadingalso varies alongx, is a compile error: write(t : 10, x : 4) | readingor(t : 10, x : inf) | reading. A bound varies only in the dimensions it names. Before, such a value was eod everywhere, with a warning. - Aggregates over a region are written
sum e over R end, with no parentheses:mean heat over (x : #x - 1 .. #x + 1) end,count 1 over (x : 5) if f > 0 end,argmax.s temp over (s : 3) end. The same for every aggregate over a region. The form before,sum(e over R), is a compile error that shows the new one. A region is written only inside an aggregate or a bound; it is no longer a value. - Searches by time are operators that end with
end:asof.t price at T end,hold.t factor at T within 200 end, and two new ones,latest.t price at T end(the last position whose timestamp is at most T) andafter.t price at T end(the first position later than T).within M(only readings from the last M milliseconds) andskip eodapply tolatest,asofandhold;aftertakesskip eod.holdisasof … within M skip eod: a reading exactly M old no longer counts, and when nothing is recent enough the result carries the timestamps of T and M. The call forms before are compile errors that show the new ones. - A time window is part of a region:
sum rain over (r : window.r 30min at T) end, beside other items if wanted, with a filter if wanted. Its result never carries a timestamp from outside the window. - Durations and moments:
250ms,30s,5min,2h,1d,1ware numbers of milliseconds;utc("2026-10-18T12:00:00Z")is a moment, checked when the program is compiled. - Functions may take a dimension:
fun held.d(E, T, M) = …, called asheld.r(rain, now, 30). Constant(v)is an output: a value with no dimensions written as the plain value, to<name>.txtor to standard output.absent 0's zeros are ordinary values: a search over such a source finds them too. A search along a dimension with no end, over a source that readsabsent 0, is a compile error.- Sums of products: a product written inside an aggregate,
sum a * b over R end, is exact; a product reached through a variable or a function's parameter is the rounded value. Programs with products passed through a function give answers different in the last bits. - Plan version 17. Every program compiles to plan version 17, the only version this release reads. Plans compiled for 0.16.0 are refused with a message: compile the program again, or download it again from the playground.
#0.16.0 (18 October 2026)
- Outputs named in the program. A program may name what it gives out:
output = CSV(running, ratio), orJSON(…),Arrow(…),NumPy(…),Frames(…)of one or more variables with the same dimensions and bounds. Each value is written over its own bounds (a boundinfup to where the data end), as the same output written indeploy.jsonis, byte for byte.elucid8 runwrites each to<name>.<ext>beside the configuration, or to standard output when it is all the run writes and its format is text;deploy.jsonmay give another destination, and only that (command reference). A program with an output compiles to plan version 16, which 0.15.0 refuses, saying so. The five names are reserved as function names;Constant(…)is reserved and not available yet. - Parquet output.
--format parquet(or an output path ending in.parquet) writes a query's results as an Apache Parquet file, with the columns of the Arrow output; an output's records too ("to": "records.parquet"). pyarrow, pandas, Polars and DuckDB read the files. The files are uncompressed, in row groups of 262,144 rows (Command reference). - Parquet and Arrow files as data sources. A source may read a Parquet file (
"parquet": "x.parquet") or an Arrow IPC stream or file ("arrow": "x.arrows"), or name it as"file", its format from its ending. The table is the one the CSV of the same rows gives, so the answers are the same. Parquet files may be uncompressed or Snappy-compressed, with dictionary or plain pages; other compressions, nested columns and decimals are refused with a message (Data files).
#0.15.0 (18 October 2026)
- "Deadline", one word. How long a data service's answer may take is called its deadline everywhere: the playground's service card says Deadline [20] ms, and a late answer reads, for example, "echo answered after 30 ms, past its 20 ms deadline."
- Exact sums.
sumis the exact sum of its elements, rounded once to the nearest number, andmeanthe exact sum divided by the count, rounded once; where each element is a product (sum(a * b over R)), the products are exact too. The order of the elements no longer matters, and a sum is an error only if its exact value is too large: the mean of 10³⁰⁸ and 10³⁰⁸ is 10³⁰⁸. Answers change in the last bits where adding one element after the other rounded (about 8% of the answers of the repository's programs, measured).approx_sumandapprox_meanadd in any order, for speed: their last bits may differ between machines and numbers of threads. A program withsum,mean,approx_sumorapprox_meancompiles to plan version 15. - Statistics, and where the largest is.
variance(e over R),sample_varianceandstddevare computed exactly and rounded once, so a variance is never negative and the same on every machine.argmax(e over R, d)is the coordinate alongdof the first largest element, andargminof the smallest. A program that uses them compiles to plan version 14 (15 with sums), which earlier releases refuse, saying so. The names are reserved. sin,cos,atan2, andpowwith any exponent.sin(x)andcos(x)take an angle in radians, andatan2(y, x)gives the angle of the point (x, y), from −π to π.pow(x, y)now takes any exponent: a whole number as before (repeated squaring), anything else from the same maths library asexpandlog, sopow(2, 0.5)is √2; a negative number to a fractional power is an error. They give the same bits on every machine, for small angles and huge ones. A program that uses them, orpow, compiles to plan version 15.- Text.
"north"is a text value, compared with==and!=only (a text is never equal to a number; text where a number is needed is an error). A bound that lists names,(region : {"north", "south", "east"}) | …, makes a text dimension:#regionis the name,@ {region = "east"}reads another (a name not in the list is eod), and a region along it lists names, added in the list's order. Every bound that names it gives the same list. A program with text compiles to plan version 15, and theelucid8command runs it, writing names in every output. In the playground, Sales planning, Log analysis and Sensors now name their products, regions, services and sensors. - Recursive functions. A function may call itself, or another that calls it back:
fun fac(k) = if k < 1 then 1 else k * fac(k - 1). The playground and theelucid8command both run them, with the same answers. A parameter passed on unchanged at each call costs nothing extra (a recursion 1,000 calls deep that reads it computes about 2,000 values, not half a million), and a recursion with one call of itself is computed as a loop over its depth. A recursion that never ends stops at the depth limit within seconds. A program with a recursive function compiles to plan version 15. - Filtered aggregates.
sum(p over R if p > 100)adds only the elements where the condition holds; the condition sees each element's own coordinates. It works for every aggregate (count(… if …)counts where something holds). A program that uses one compiles to plan version 15. round.round(x)is the nearest whole number, halves away from zero (round(2.5)is 3,round(-2.5)is −3), keeping the sign of zero.- What a data file lacks. For a v0.2 program, a file without a column named after one of its source's dimensions makes every point of that source eod, not an error:
elucid8 checkand the run report say which column is missing. A column namedtsis read as each row's timestamp unless the configuration names another time column. A source with no dimensions,source(S), is one value: its file holds one row; anything else is eod. - Names instead of numbers. Data that names things (stock symbols, sensor ids) is read through a map file from each name to its number, and results are written with the names (command reference).
- Named constants. Compiled with a map (
--names sym=symbols.csv), a program may writesym_AAPLfor the number of the nameAAPL. The plan lists the names whose constants it uses, andrun,checkandserverefuse a map that gives one of them another number or no longer lists it (command reference). - Faster version ids, and new ones. A data file's version id is now a 64-bit XXH64 hash over 64 KiB blocks of its bytes, computed about 17 times faster than before on one thread, and able to use every thread. Loading large files is faster (the medium-size markets data: about 0.75 s → 0.53 s on 18 threads). Ids change once: the same file has another id than under 0.14.0, so a configuration or a
snapshotthat names a version by its id from an earlier release needs the new id (labels are unchanged). - Data files read at once, and faster on many threads. A deployment's data files are read at the same time (up to four), each by a thread of its own, and a file's rows are gathered into its table on every thread instead of one. On 18 threads the medium-size markets data load in about 0.26 s (0.51 s before), and the sensor field's 1.1 GB of readings in about 0.58 s (1.09 s); on one thread nothing changes. Tables, version ids and error messages are the same as before.
#0.14.0 (14 October 2026)
divandmod.div(a, b)isa / brounded down to a whole number, andmod(a, b)the remainder, with the sign ofb:div(-7, 2)is −4 andmod(-7, 2)is 1, soa = b * div(a, b) + mod(a, b). For whole numbers up to 2^53 − 1 both are exact; for other numbers each is the exact answer rounded once, the same on every machine. A divisor of 0 is an error, as for/. A program that uses them compiles to plan version 13, which earlier releases refuse, saying so. The names are reserved:fun mod(…)is a compile error.- A standard library, written in eLucid8.
default(x, v)isvwherexis eod, elsex. The UTC date fields of a time in milliseconds:year,month,day_of_month,day_of_week(Monday = 1 … Sunday = 7),hour_of_day,start_of_dayandstart_of_month, in the Gregorian calendar extended back before 1582, for times before 1970 too; exact for every whole number of milliseconds up to 2^53 − 1 either way. A call is replaced by the function's equations, as for a function of your own, so the plan holds them and no new plan version is needed. The names are reserved:fun year(…)is a compile error; a value may still be calledyear. - Exact maths functions.
floor,ceilandtruncround to a whole number (down, up, towards 0),signgives −1, 0 or 1, andpow(x, n)raisesxto a whole-number power. They give the same bits on every machine, keep the sign of zero (trunc(-0.5)is −0), andpow(x, 0)is 1 for everyx; an exponent that is not a whole number is an error for now. A program that uses them compiles to plan version 12, which earlier releases refuse, saying so; other programs keep their plan version. The names are reserved:fun floor(…)is a compile error. - A window is reduced like a region.
sum,count,mean,minandmaxofwindow.d(v, T, w)are now eod when a value in the window is eod (before, eod values were left out); write, skip eodto leave them out:mean(window.t(v, T, w), skip eod). The answer's timestamp is the newest in the window, skipped values included, andsumandmeanadd from the window's first value, as over a region. timeof an error is that error, not the number of its timestamp.first.d eis defined withoutd.start = first.t readingis the first reading, a value with not; before, it was eod where the context had not.- Moves that do nothing are refused. Setting, moving along or aggregating over a dimension that what they apply to does not have (
v @ {x = 1}or(v + 1) @ {x = 1}wherevhas nox,next.x v,sum(v over (x : 0 .. 2))) is a compile error naming what it applies to, or a warning when it happens inside a function, naming the call and the argument; the move is then left out. A local value that nothing reads, and a region whose range starts below 0, are warnings. - A program that uses these compiles to plan version 11, which earlier releases refuse, saying so; other programs keep their plan version.
timeof eod is eod. Whereeis eod,time(e)is now eod (withe's timestamp), not the number of that timestamp, so a value computed from the time of data that is not there is not there either. A program that usestimecompiles to plan version 10, which earlier releases refuse, saying so; other programs keep their plan version.time(e)of an error is unchanged: the number of the error's timestamp.- One file for several sources. A source binding may name the column its values are in:
{ "csv": "trades.csv", "time": "ts", "value": "size" }reads a trade's size from thesizecolumn of the file that also gives its price (command reference). - An output's values computed together. A value that several of an output's values read (the quote in force, read by a trade's slip and by its staleness) is computed once for the output.
- Searches over computed values stop where the data do.
asof,holdandwindowover a computed value compute it, along each line, only as far as the data it reads go, not to the end of its bound. - Rows with their own time held compactly. A row whose time is in a column of its file now takes about 32 bytes in memory, not about 92.
- Searches read only what decides the answer. Computed one value at a time,
asof,holdandwindowover a source whose rows carry their own times read only the rows that decide the answer, and a point cache records only those. After a correction, only the answers it can change are computed again. - Measured on market data (4,001 symbols, 120 million quotes, 30 million trades; Apple M5 Max, 18 cores): pricing every trade against the quote in force, with its slip, staleness and 5-minute volume-weighted price, takes 28.8 s and at most 13.3 GB, against 57.2 s and 27.4 GB before these changes; on one thread, 56.3 s against 91.0 s. The three published examples run as fast as in 0.13.1.
- A wrong answer fixed:
asof,holdandwindowat a time that is not a number (NaN), or a window whose start is not a number, now select nothing, as the definition says; computed in compiled loops they could select the latest value instead. - A file named by several sources is read once.
- A wrong answer fixed:
sum,mean,minormaxof awindowover a computed value whose values are true or false gave a number in compiled loops; it is now an error ("max needs numbers"), as the playground and every other path give.
#0.13.1 (13 October 2026)
eodin loops. A value writtenif … then eod else …, computed over a box of points, now gives its eod points in the same compiled loop as the rest, instead of computing each of them on its own. Answers are unchanged. The features example's v0.2 program, whose features are eod on their first days, computes 7 million fewer values one at a time.- The features example without a join.
build_table.pyputs each chunk's five column files side by side instead of joining them with DuckDB: every file lists the same (customer, day) points in the same order, and the script checks this and stops if not. The training table is the same, row for row.
In the playground (the elucid8 command is unchanged by these):
- Calling a service, made simple. The example Calling a service: an echo calls
echo, a simulated service that answers with what it is sent: make it slow and its answer is late. A second example, A fraud check that can't wait, has an AI model (simulated) score card payments within 200 ms; when the model is late or fails, a rule decides, and the answer shows which. - Answers that say why. When an answer is a service's error, a line under it says so in plain words: "answer at t = 2 is late: echo answered after 30 ms; the wait is 20 ms.", or "risk at t = 6 failed: fraud_model answered with an error (overloaded)." An error passed on from a call says where it came from. In the trace, a value that is still a value although something it read is an error says which branch its equation took.
- Data sources and data services. The Data In/Out tab's sections are Data sources (data that already exists, which the program reads: a table, a file, a database), Data services (data made on request: at each point the program asks an outside program, such as an AI model or a web API, and the answer is data stamped with the time it arrived) and Outputs. In programs they are still
source(…)andservice(…). A data service's card has two experiments, folded: Try a slow data service (how long it takes, the wait and reuse) and Try a faulty data service (how often it fails, and retries), each with a line on why it matters. - A Learn page: Where data comes from and where it goes, on data sources, data services and outputs, and which to use when. The reference page External services is now Data services.
- The playground's tabs: Program | Data In/Out on the left; Visualize | Trace | Service calls on the right (Details is gone: a step clicked in the trace is explained beside it, and the view's counts are under the picture). The question area is labelled Query.
- A new example, Drawing curves: tanh and a sine wave, in Start here: tanh drawn as a line, and a sine wave computed by rotation (sin and cos are not built in yet).
- Going straight to a tick: in a view played along a dimension, a slider and a box beside ◀ ▶ and Play.
- The playground's Examples menu reads "Pick a program as your template". On the website, the buttons above the playground are smaller.
- Learn: "Time and real time" is rewritten around one example; the semantics, the plan formats and "Building AI models" are no longer on Learn.
- Tours. Some examples (the echo, the fraud check, Correcting data, Maintenance) have a short tour beside them: three or four steps, each saying what to do, why it matters and what you should see, ticked as you do them. Close the tour keeps it closed for that example.
#0.13.0 (13 October 2026)
- Aggregates over regions. In the notation v0.2 an aggregate is over a region:
sum(x over (t : #t - 6 .. #t)),mean(grid over (x : #x - 1 .. #x + 1, y : #y - 1 .. #y + 1)). A region gives one constraint per dimension:d : n(0 to n − 1),d : a .. b,d : a .. inf,d : inf, or the positions listed,d : {1, 3, 7}; its ends can be any expressions of the current point. A region on its own is a value: it can be named, chosen withifand aggregated over later., skip eodleaves eod elements out.d in a..branges andneighbourhood(…)are not part of v0.2 any more; a program that uses them is a compile error that shows the new form. The tutorial, section 6, has the details. - Positions past a bound are left out. An aggregate leaves out the positions past the bound of what it aggregates, as it already left out positions below 0: they are neither computed nor counted, and
meandivides by the positions left. Before, such a position was eod and made the result eod. Answers change only where an aggregate reaches past a bound: a 3 × 3 mean at the edge of a 10 × 10 grid is now the mean of the cells inside, and a 30-day window near the end of the data sums the days that exist (a program that wants eod there says so, as the features example does withif #day < 29 then eod else …). - The size limit counts the positions an aggregate keeps. An aggregate over a large region of which only part lies inside the bound of what it aggregates is limited by that part: some aggregates that stopped with the size limit's program error now complete.
- Every aggregate folds from its first element. Sums and means over a region start from the first element instead of from 0, so a sum of only −0 is −0. No other answer changes.
- Infinite regions.
infanda .. infare allowed over something bounded along that dimension; over something with no bound there, the compiler says so. - Plan version 9, which this release reads (
plan versions: 2, 4, 5, 6, 7, 8, 9). A v0.2 program whose aggregates need what versions 7 and 8 cannot carry (a region value, a list of positions,skip eod, or positions past a bound left out) compiles to version 9, which earlier releases refuse, saying so. A program whose aggregates are windows that stay inside the bound of what they aggregate still compiles to version 7 (or 8 with service calls), so the features example's plan is unchanged. The simulation's and the sensor field's plans are now version 9; their answers, and their speed, are those of 0.12.0. - In the playground (no change to the command): two examples in a new group, Operations: maintenance (wear, peak load and hours run since the last service, over a region computed from the data) and log analysis (error rates over a 5-minute region, errors in two services by a list, and an incident's errors since it started). Region values show as their text,
(hour : 17 .. 25), and the "What can I write?" sheet has regions,overandskip eod. - Saved programs rewritten. Programs saved on the website in v0.2 are rewritten with regions. Each keeps its original, and its note says when it was rewritten and whether some of its answers changed under the rule for positions past a bound.
#0.12.0 (13 October 2026)
- A service call is an equation, and its settings are configuration. In the notation v0.2 a program calls an outside service as it reads a source:
score = (t : 100) | service(scorer, reading). How long to wait for an answer, which failures to try again and whether to reuse answers are the service's settings:deadlineMs,retry({"codes": [...], "attempts": n}) andreuse("successes") indeploy.json, and on the service's card in the playground.effect … = call …withdeadline,retryandreuseis the earlier notation's, and a v0.2 program using it is a compile error that shows the new form. Two waits for the same kind of service are two service names, which may be bound to the same backend. A v0.2 program with service calls compiles to plan version 8, which this release reads (plan versions: 2, 4, 5, 6, 7, 8) and earlier releases refuse, saying so. A v0.2 program without service calls still compiles to version 7, which 0.11.0 reads. - A simulated service, built in.
{"builtin": "simulated", …}answers the sum, mean or largest of its inputs, a score from 0 to 100, or a formula over them, after a fixed or varying time, and fails as often as set, the same way for the same call. The playground's service cards make one, and Add a call writes a call and its card; the Calls tab lists each call of the last question. elucid8 infolists each service with the values that call it.- Downloads carry a service's settings. The playground's Download writes each service's wait, retries and reuse into
deploy.json, and binds a simulated service as"builtin": "simulated", so./elucid8 run plan.json --config deploy.jsongives the playground's answers and calls. - In the playground (no change to the command): two columns, the program and its data on the left and the answer on the right with View, Why?, Details and Calls tabs; the Data In/Out tab in three sections, Inputs, Services and Outputs; editable sizes on source cards; grids up to 256 × 256 drawn whole; Load file, Open as a table and Save as file for tables; Start from… with new examples (anomaly detection on sensors, forecasting demand).
#0.11.0 (12 October 2026)
- v0.2 programs compile to plan version 7, which this release reads (
plan versions: 2, 4, 5, 6, 7). Its rules change what some v0.2 programs compute, so 0.10.0 refuses version 7 rather than compute it the old way. Version-6 plans are still read, and computed as before. The rules:- eod wins over an error. Where an operator, a function or an aggregate meets both eod and an error, the result is eod, with the latest timestamp of what it read. An error where there is data still passes on.
- Aggregates over a range leave out positions below 0.
sum(spend, day in #day - 6..#day)on day 2 sums days 0 to 2, with no clamp;meandivides by the positions left; a range wholly below 0 gives 0 forsumandcount, and eod formean,minandmax. A position at 0 or above that is eod still makes the result eod. source(name, absent 0)reads a point with no row as 0 (with timestamp 0), for sparse data where a missing row means nothing happened. A row marked missing is still eod.asof,holdandwindowover the source still look only at its rows; over a value computed from it, its zeros are ordinary values. In a deployment, a binding's"missing": "error"stays an error.
- An error literal.
error("message")is an error with that message, for a program to reject data it cannot use:if reading > 100 then error("too high") else reading. On its own it has timestamp 0, so a result containing it has the timestamp of the data it was computed from. Quoted text is allowed only there. - Service calls are timed by their data. In a v0.2 program a call starts at the latest timestamp of its arguments, and its deadline counts from there; before, every call started at 0 ms. Its answer is stamped with the time it completed; a late call's error, with the deadline's time; a failure, with the time it failed. The protocol's
startMsis that start. - Streams with no end. A bound may be
inf:reading = source(reading, tick : inf, x : 256).asof,holdandwindowalong such a dimension look at the data so far: over the source, up to its newest row; over a value computed from it, as far as the data it is computed from has reached. A query names a finite range withlast(tick = last - 9..last); one naming0..infis refused with a message saying so. - Faster searches over data with a time column. When a source's rows carry their own timestamps (
"time": "ts"),asof,holdandwindowover it run in compiled loops instead of point by point: on 25 ticks of a 256 × 256 sensor field, 0.37 s instead of 61 s, and 1.8 GB instead of 3.1 GB. Answers are the same. - Searches cover every point they should.
asof,holdandwindownow search a computed value as far as it can have data, an error or a timestamp, where before some searches stopped too early: for example over a value that is an error past the end of its inputs, or a sum over a neighbourhood with no neighbour left. Where they stopped too early, answers change. A search over a value with no bound along the dimension is a compile error that says how to bound it. - eod in words. For v0.2 programs,
elucid8 checksays "a missing point is eod",infolists "warnings (reads that are eod)", and the warning for a query that leaves out a dimension says the value is eod there. v0.1 programs keep "Undefined"; JSON and file formats are unchanged. let … inis explained. A program that writeslet a = … in …gets the compile error "eLucid8 has no let … in: write the definitions after the expression, with where … end", at thelet.- No notation line. A program is in the language's notation v0.2 unless it has the earlier notation's declarations (
dimension,source … @ (…),name @ (…) = …), so the first line-- notation: v0.2is no longer needed; a program that still has it compiles as before (the line is a comment). - Searches along a stream with no end, line by line.
asof,holdandwindowover a value computed from a source with aninfbound now reach as far as every line the value reads has a row, at the same other coordinates (one sensor, or the sensors a neighbourhood reads), instead of as far as the newest row of any line. A sensor that missed the latest reading stops at its own last row, soasofover its running total gives its last real total; the other sensors are unaffected. Answers change only for such searches, where lines end at different positions. eodin data files. In the data of a v0.2 program, a CSV celleod(any case) is a missing value, asundefinedis (still read, for old files). The data of a program in the earlier notation is read as before (eodthere is text). CSV output for a v0.2 program writes a missing value aseodinstead ofundefined: a script that looks forundefinedin such output needs to look foreod, and an earlier release readseodin a data file as text, so files written by this release need it to be read back.
#0.10.0 (10 October 2026)
- Programs in the v0.2 notation.
elucid8runs plan version 6, which the compiler writes for programs in the v0.2 notation (first line-- notation: v0.2): every value bounded,eodand errors, a timestamp on every outcome, andasof,holdandwindowby timestamp. Programs in the v0.1 notation run as before, with the same answers and outputs. The playground's built-in examples are now in v0.2, apart from Spatial, so their downloads need this release. - Timestamps in data and outputs (v0.2 programs). A source's binding may name a time column (
"time": "ts") or give its rows the time of a coordinate. Outputs carry each outcome's timestamp:tsin JSON lines, atscolumn in CSV and Arrow,tsin frames andts.npyin.npzfiles. Where every cell's timestamp is the time of one coordinate, frames and.npzfiles write it once per coordinate.asof,holdandwindoware computed in compiled loops, as alignments are in v0.1. - Sources that only gain data cost less in
elucid8 serve. When rows are appended to a source (withadvance), cached values are kept unless they read a point the new rows could change, and old versions share their data instead of copying it. After 10,000 appended rows, an advance takes 0.02 ms instead of 0.9 ms, a subscription's answer 0.003 ms instead of 0.5 ms, and the service holds 24 MB instead of 1.4 GB. Answers are the same.
#0.9.1 (9 October 2026)
- Outputs: records to files and programs. A configuration's
outputsname several values that make up a record, the box they are over, and where the records go: one record per point of the box, with a column per dimension and per value, to a JSON-lines, CSV, Arrow or NumPy file, or to a program. Each value's cells are exactly its own query's over the box; a value with fewer dimensions than the record is repeated.elucid8 runwrites every output (--output NAMEselects some), andcheckchecks them. JSON lines, CSV and programs receive records as they are computed, and Arrow in batches, so memory does not grow with the box. The features example's training table can be written as records (build_table.py --records): about half the bytes of its five column files (2.7 GB against 5.1 GB), 0.90 GB of memory at most instead of 1.33 GB, and no join (about 1.8 s of DuckDB's time), a little faster: the table takes 4.7 s against 5.0 s on 18 threads, and 7.1 s against 7.7 s on one. See the command reference. - Programs as sources and destinations. A source can be served by a program (
"process": […]in its binding), which answers its rows and the version of what it read in lines of JSON; a new version is taken as a new file would be, so cached values that read unchanged points are reused, and a program that gives no version is never reused across queries. A program that cannot answer makes the source's points Errors naming it. An output can go to a program, which receives the records in order, in batches, each sent again after a failure (a record's coordinates are its key). Inelucid8 serve,subscribewithoutputsends a program only the records whose outcomes changed. Example programs read and write SQLite with Python and Node.js alone. See programs as sources and sinks. - Data files are read on every thread. CSV and JSON-lines files of 1 MiB or more are parsed on several threads while one more thread computes the file's version; the table, the version and any error (with the line it names) are the same as on one thread. The sensor field's 1.1 GB file of readings is read in 1.1 s instead of 4.3 s (
elucid8 check), and the sensor field's 1,000-tick batch takes 2.7 s instead of 6.2 s; the simulation's probe at step 100, which reads two files of about 3 MB, takes 0.02 s instead of 0.04 s. Reading on several threads uses a little more memory (the batch peaks at 2.8 GB instead of 2.6 GB). A file whose rows are not in key order is also sorted on several threads, and the index used to find a row is built on several.--threads 1(or the optionthreads) reads on one thread, as before; rows appended inelucid8 serveare read as before.
#0.9.0 (8 October 2026)
A point cache costs less. With
pointCache, a query over a box of 4,096 cells or more, of a value computed in loops, is computed in loops and its values are not cached (computing them again costs less than keeping them); everything else is cached as before, and"boxKernels": falsecaches every value. The sensor field's stream with a point cache answers a tick in 17 ms with 60 MB, where it took 1.1 s and 2.9 GB. Under a memory budget (cacheBytes), records are compacted as values are stored once the budget has been reached: the features correction for 1,000 customers with a 1 GiB budget takes 21 s and 3.7 GB, where it took 105 s and 5.2 GB. Inelucid8 serve, taking new data looks only at the cached values that could have read what changed: an advance of a clock that gains ticks takes about 0.01 ms however long the service has run, where it grew to 0.24 ms after 1,000 ticks. Answers are the same.Threads are kept between loops instead of being started for each one.
Faster again, with the same answers. With a point cache (
elucid8 servekeeping what it computed), the records of what each value read are smaller and fewer: the features example's correction computes its five columns in 0.71 s instead of 0.93 s, answers again after the corrected file in 0.16 s instead of 0.25 s, and the service peaks at 0.63 GB instead of 1.14 GB; taking the corrected file takes half as long. Arrow files with a column of booleans are written much faster: the features table takes 4.8 s instead of 9.2 s. Neighbourhoods,holdand the data an alignment reads are faster in compiled loops: the sensor field's batch takes 5.9 s instead of 7.4 s, a stream query 3.9 ms instead of 7.7 ms, and the simulation 1.5 s instead of 2.3 s. One value at a time, neighbourhoods and iterations cost less: a heat field at step 2,000 takes 0.24 s instead of 0.33 s, and the simulation's probe at step 100, point by point, 1.45 s instead of 1.86 s.elucid8 serve's estimate of its cache's size (bytesinstats) is smaller with it.Faster queries, with the same answers. A box's answers are delivered faster (each point is computed from the box's axes instead of through its dimensions' names): the features example's table takes 9 s instead of 18 s, the sensor field's 1,000-tick batch 7.3 s instead of 10.5 s, and a stream query 7.7 ms instead of 10.2 ms. Files read one point at a time are faster: a file that lists every point of a block is read by position, and others through an index of their rows (at most 4 bytes a row); a random read of the sensor field's 65-million-row file takes about 35 ns instead of about 400 ns. 300,000 single-point queries through
elucid8 servetake 3.3 s instead of 4.8 s, and the simulation's probe at step 100, one value at a time, 2.4 s instead of 2.9 s. Sums and means over a window that moves with the coordinate (sum(v, day in #day - 29..#day)) slide from one cell to the next in compiled loops when that is exact (integers whose sum stays below 2^53), and add up the window in order otherwise.Faster, leaner evaluation one value at a time. Values over integer dimensions are kept in memory in blocks addressed by their coordinates, about 12 bytes a value instead of about 250, and freeing the values a query no longer needs costs less. Answers are the same, bit for bit. Measured one value at a time (without loops over boxes or steps): a neural network's training loss at step 60 takes 7.2 s instead of 15.5 s, and a linear model's at step 200 0.82 s instead of 1.33 s; a heat field at step 2,000, 0.33 s instead of 0.46 s; the simulation's probe at step 100, 1.9 s and 36 MB instead of 2.5 s and 310 MB; 300,000 single-point queries through
elucid8 serve, 2.6 s instead of 3.6 s. Queries computed in loops (the examples' defaults) take as long as before.A new option
autoRetainBytes, 1 GiB by default: with the default memory management (retain: "auto"), values start being freed once those a query holds take about this many bytes, instead of after 65,536 values. A query that stays under it keeps everything, which is faster: per value, the network and the linear model 10–25% faster, and 300,000 single-point queries 1.9 s instead of 2.4 s, using up to 1 GiB more memory. Set it lower on a machine with little memory; settingautoRetainAtkeeps the switch on a number of values. See the command reference.Iterations a step at a time by default. A value defined from its own previous step (an iteration of one variable, such as a heat field computed from the step before) is now computed a whole step at a time in compiled loops by default, as the option
singleIterationsused to ask for; a conditional in it (if held then initial else mean(…)) is fine. Answers are the same, bit for bit. On the simulation example, probing one cell at step 300 takes 0.09 s and 41 MB, where it took 459 s and 4.1 GB; at step 1,000 it takes 0.7 s, where it had not finished after 15 minutes. An iteration whose steps are about one value each (a running total over time) is still computed one value at a time."singleIterations": falsecomputes one value at a time, as before; so does a configuration withpointCache. One difference can show: a deep history that stopped at the demand-depth limit one value at a time may complete a step at a time, since the limit is a limit on resources, not part of the answer. See the command reference.Less recomputation when a long query frees memory. Evaluated one value at a time, a query that frees values no longer in use (the default memory management) lost track of values it had freed once it held more than about half a million, and computed them again and again. It now keeps track in proportion to what it holds: the simulation's probe at step 250, one value at a time, computes 23 million values instead of 136 million, in 36 s instead of 214 s, and at step 300 40 million instead of 232 million, in 85 s instead of 459 s (with 5.3 GB of memory instead of 4.1 GB: it now keeps what it will need again). Answers never depended on it.
Several threads. Loops over a box, each level of an iteration or a group, and the data an alignment reads are split across several threads, as are the checksums of NumPy files and the columns of Arrow files. The answers are the same, bit for bit, with any number of threads: each element is computed whole on one thread, and sums keep their fixed order. A new option
threads(and--threads Nforrunandserve) sets the most threads to use; the default is as many as the machine has, and 1 uses one. See the command reference.Rows appended to a source in
elucid8 serve:advancetakesrows(orrowsFile), rows to add at the end of the newest version's file; the new version is the one the whole file with those rows would give, but only the rows are read. WithkeepFrom, a window: the source keeps only its points at or above a bound on its first dimension, so a stream keeps a fixed number of ticks. See the long-running service.Faster reading of CSV files without quotes or characters outside ASCII, and faster frame replies from
elucid8 serve.Plan version 5: restrictions and missing coordinates. The compiler (the playground,
elucid8-compileand the website's compile endpoint) now accepts restrictions,(t = 3, x : 16) | e(see the tutorial, section 17), and programs that read a coordinate their context does not supply, which is Undefined there; it warns of such reads, and the plan carries the warnings. Plans of such programs are version 5, which the command now reads (plan versions: 2, 4, 5), with the same answers as the playground;infolists the plan's warnings. Every other program compiles exactly as before. Recursive functions are still not read, also in a version-5 plan.A query that leaves out a dimension of its value is answered: every point is Undefined, nothing is computed, and a warning names the dimension, on standard error for
runandcheck(exit code 0), in the report, inwarningsin the replies ofelucid8 serve, and in the WebAssembly module's result. Before, such a query was invalid (exit code 3). See the command reference.
#0.8.0 (6 October 2026)
- Queries over a box run as loops, alignments included. A query over a box computes its value, and everything it reads, a whole block at a time:
exact,asofandholdalignments, sums, means and counts over awindow, aggregates whose bounds move with the coordinate, and Undefined all run in compiled loops. Elements that are Errors are still worked out one at a time, so every Error names where it arose. Answers are the same, bit for bit. On the examples at full size, the sensor field's 1,000-tick batch takes 20 s instead of 221 s, a stream query 16 ms instead of 213 ms, and the features table 20 s instead of 572 s. - New options:
boxKernels(defaulttrue; not used withpointCache),checkBoxKernels(check every loop against one-at-a-time evaluation, for testing) andboxCells(how many cells of a box are computed at once, bounding memory). See the command reference. - In
elucid8 serve, a time budget or a cancel takes effect when the block being computed finishes, not in the middle of it.
#0.7.0 (6 October 2026)
- Plan version 4:
truncate. The command reads plans of version 4 as well as version 2: programs that bound a value withtruncate(e, x in 0..15, …), leave Undefined neighbours out of a neighbourhood withskip undefined, or read a neighbourhood without edges (see the tutorial, section 1). Version 3 (recursive functions) is not read yet.--versionsaysplan versions: 2, 4. Programs without these constructs compile to version 2, as before, so 0.6.0 and earlier still run them. - Nothing beyond the bounds. A value whose equation is a
truncatewith constant bounds is computed only within them, also when a query's box reaches beyond: the rest is Undefined, without computing or reading anything for it. - Origins with
from:dimension day : int from 1startsfby,firstandnextat 1. The origin was already in every plan, so this needs no new version.
#0.6.0 (6 October 2026)
- A query over a box is computed as one block. Where a value is computed a level at a time (an iteration of one value with
singleIterations, or a group of values), each level of the whole box is now computed once: the whole of a 512 × 512 heat plate at step 1,000, asked with--query, takes 6 seconds, where before it had not finished after 31 minutes. Answers are the same. A configuration's query with"tile": falseis still computed point by point. See Queries. - Far less memory for large queries.
elucid8 runno longer holds anything per point beyond what the output needs: JSON lines and CSV are written as they are computed, and frames, NumPy and Arrow hold about 9 bytes a cell until the query ends (before, about 600 to 900 bytes a cell). Values computed along the way are released once no later point reads them. A value over 3.65 million cells took 2.2 to 2.4 GB; it now takes 20 MB as JSON lines and 52 MB as.npz. - Larger queries: a query may hold up to 1,000,000,000 points (before, 10,000,000).
- Several NumPy or Arrow files in one run: an output name with
{n}(the query's number) or{name}(the value's name), such as--out 'out/{name}-{n}.npz', writes a file per query, so a batch reads its data once. See Several queries in one run.
#0.5.0 (6 October 2026)
- Clocks that gain ticks in
elucid8 serve:advancetakes a clock, with a file or withticks(timestamps appended to its newest version); the reply says whether the new version only adds ticks at the end (append). After such an append, cached values are reused unless they aligned at or after the new tick's time, or read a tick the old table did not have; so a service following a sensor computes only the values at the newest times. Any other change to a clock still computes again everything that read it. Answers never change. See the long-running service. lastin queries:level@{time = last},level@{time = last - 9 .. last}: the newest tick of the dimension's clock, or the highest coordinate a source lists, turned into a number before the query runs, inelucid8 runand inserve. See the command reference.- Subscriptions in
elucid8 serve:subscribeanswers a query at once, then again after everyadvanceorreloadthat changes what it reads; by default each answer holds only the points whose outcome changed ("send": "all"for every point), and answers move to the newest data when data arrives faster than answers ("every": trueanswers each version in turn). Frames send the changed cells.unsubscribeends one. See Using eLucid8 from your code.
#0.4.0 (6 October 2026)
- NumPy and Apache Arrow files:
--format npzwrites one query over a box as a NumPy.npzfile (the values shaped by the axes, a kind per cell, the axes and the Errors), and--format arrowas an Apache Arrow stream (a table with one row per cell, which pyarrow, pandas, Polars and DuckDB read). A file name ending in.npzor.arrowschooses the format. Cells that are not values are 0 in NumPy and null in Arrow, neverNaN, and marked by their kind. See Using eLucid8 from your code. --out -writes the results to standard output, in any format; the binary formats need it (or a file), and never write to a terminal.
#0.3.1 (6 October 2026)
- New platforms: macOS on Intel, Linux on x86-64 and ARM64 (one static file for any distribution) and Windows on x86-64 (
elucid8.exe, needing nothing else installed), next to macOS on Apple silicon. Every build is built and tested on its own platform and gives the same answers. - Services on Windows: a service program named without a folder is found as Windows finds programs (
nodefindsnode.exe), and receivesSystemRoot. - One message everywhere when a service program cannot start: "the service process could not start: the program was not found" (or "permission denied", or "the operating system refused to start it"), instead of the operating system's own wording.
#0.3.0 (5 October 2026)
- Frames:
--format framewrites a query over a row, grid or cube as one JSON object, with its axes, a value and a kind (value, Undefined or Error) per cell, and the Errors.elucid8 servegives the same frames with"format": "frame". See Using eLucid8 from your code. elucid8 servekeeps its caches within a memory budget:--cache-bytes(or thecacheBytesoption). Over the budget, it first compacts what each cached value records about the data it read, then removes the least recently used values; answers never change.elucid8 servetakes new data while it runs:advanceadds a new version of a source from a file and makes it the newest; values that read only unchanged data are reused.elucid8 servereloads:reloadreads the configuration and the plan again.elucid8 servehandles requests strictly in the order they arrive,advanceandreloadincluded, so a query sees exactly the data sent before it;cancelandshutdownstill act at once.- Readable points in error messages: a program error names points as queries are written, for example
running@{t = 99952}.
#0.2.0 (5 October 2026)
elucid8 serve: keeps a program loaded and answers queries sent as JSON lines, one at a time, reusing what earlier queries computed. Requestsquery,check,stats,cancelandshutdown; a time budget per request (budgetMs); a stopped request leaves nothing behind. See The long-running service.
#0.1.0 (5 October 2026)
The first download, for macOS on Apple silicon.
elucid8 runanswers queries from a plan, a configuration and data files, as JSON lines or CSV, with an optional report of the data versions used, timings and counts.elucid8 checkchecks a deployment without computing anything;elucid8 infolists what a plan needs.- Data from CSV and JSON-lines files, read by the same rules as the playground's tables; each file's version is a fingerprint of its bytes, and a source may list several versions.
- Clocks from files, lists or a fixed period; services built in (the playground's), replayed from a recording, or run as a separate program that receives only the environment variables the configuration names.
- Options for caches across queries, memory management within long queries, and limits on depth and aggregate size.