Getting started
CalcFile is currently local-first and experimental. It has no hosted editor yet, so the honest way to try it is locally.
Run CalcFile Web
pnpm install --frozen-lockfile
pnpm dev:webOpen the address printed by Vite. Select Open .calc, then choose fixtures/files/walking-skeleton.calc. The editor should show 4 beside 2 + 2 and 120 beside 10 * 12 immediately.
Edit a line and select Save source. Only your expression is written to the file; result decorations are never stored.
To verify the language contract itself, run:
pnpm test:conformanceThe reference implementation must pass all required v0.1 cases.
Test CalcFile for Obsidian
For an always-current local development install, run this from the repository root:
pnpm --filter obsidian dev -- ../path-to-your-vaultThe vault path must contain .obsidian. The command uses the plugin ID from the manifest to create the appropriate plugin-folder symlink, performs an initial build, and watches source changes. Reload the plugin in Obsidian after each build. Use --replace only when you want the command to move an existing copied plugin folder to a timestamped backup.
For a copied build instead:
pnpm --filter obsidian buildCopy these files to a directory such as <vault>/.obsidian/plugins/calcfile/:
apps/obsidian/main.jsapps/obsidian/manifest.json- generated
apps/obsidian/styles.css
Enable the plugin in Obsidian. Put walking-skeleton.calc in the vault and open it from File Explorer. It should open in the custom Calc view, not a Markdown editor. Edit 2 + 2 to 2 + 3, wait for the save lifecycle, close/reopen it, and verify the source persists while the result becomes 5.
See the full manual verification guide for the cross-host check.