Commit Graph
1 Commits
Author SHA1 Message Date
waozi 37ac37fecc Read and write Gnumeric files with a 1:1 verified engine
Replace the fixed 8-column grid with a real spreadsheet engine authored in
Kry (src/engine.kry): sparse 256x65536 cell store, multiple sheets, the
Gnumeric expression language (relative/absolute/cross-sheet references,
ranges, operators with Gnumeric coercion and error semantics) and a
function library spanning math, statistics, text, logical, date, and
information functions with Excel-compatible date serials.

Files load from and save to .gnumeric (Gnumeric XML, gzipped or plain) and
CSV, with the legacy workbook.json profile format still readable. The
desktop app renders any sheet with A1 headers, sheet tabs, and row/column
editing on top of the engine. The new `cell` CLI evaluates workbooks
headlessly.

Every fixture in tests/fixtures is evaluated by the installed Gnumeric and
by this engine and compared cell by cell by scripts/parity-test.sh, plus
round-trips where Gnumeric re-reads files this engine wrote; the suite runs
as part of make test. Bump vendor/kryon for the kry_xml and kry_gzip
primitives the format support builds on.
2026-09-05 02:14:08 -03:00