Max - inspired by CTOS Multiplan

Top-level Files of tip
Login

Top-level Files of tip

Files in the top-level directory from the latest check-in


MaxMinion

Lean, correct, high-performance spreadsheet application emulating the keyboard-first workflow of classic Microsoft Multiplan (CTOS / DOS era).

Status

Functional skeleton with:

Next priorities (per prompt): full formula parser+eval (A1/R1C1), smart recalc via CTE+deps, proper canvas virtual grid, command tree, copy/paste with ref adjust, FTS find, CSV, static build.

See TechNotes (use fossil timeline or the MCP) for architecture/schema/prompt.

Build (Linux first)

Prereqs:

# from inside the Max fossil checkout
v run .
# or build
mkdir -p bin
v -prod -o bin/maxminion .
./bin/maxminion

The first run creates data/example.lplan (inspect with sqlite3 data/example.lplan "SELECT * FROM cells;").

See the sqlite-mcp and nuklear-mcp siblings for deeper patterns and the static build recipes (in their resources).

For full static single-exe (no DLLs): follow nuklear-mcp://static-build-linux , compile sqlite3.c amalgam in, link static SDL2.a + GLEW.a + GL. Use -cc tcc or gcc -static where possible. Cross builds similar with mingw/musl. ```

Static / Single Executable Builds

Goal: one binary, minimal or zero external shared libs.

See docs/BUILD.md (to be added) for:

SQLite is included via amalgamated sqlite3.c (public domain) compiled directly.

Usage (target)

File format .lplan is a SQLite database — inspect with sqlite3 your.lplan "SELECT * FROM cells;"

Fossil Discipline (mandatory for contributors)

This tree is Fossil only. Never use git inside.

See FOSSIL-FOR-AGENTS.md (sibling repos) and the tech notes in this repo's timeline.

Project Layout

.
├── .fossil-settings/
│   └── ignore-glob
├── v.mod
├── README.md
├── ARCHITECTURE.md
├── src/
│   ├── db.v
│   ├── model.v
│   ├── formula.v
│   ├── engine.v
│   ├── ui.v
│   └── ...
├── main.v
├── data/          # example .lplan files
└── ...

License

MIT (or public domain spirit).

Credits

Inspired by Microsoft Multiplan on CTOS, Lotus 1-2-3, and the power of SQLite + V + immediate mode GUI.