Skip to content

CalcFileCalculations are files.

Write naturally. Calculate instantly. Keep the file.

japan.calc derived results
# Japan
 
Flights to Tokyo = 740 EUR740,00 €
Hotel = 120 EUR * 6720,00 €
Food about 45 EUR * 10450,00 €
 
total1.910,00 €
The file contains only the source; the result column is derived editor UI.
text
# Japan

Flights to Tokyo = 740 EUR
Hotel = 120 EUR * 6
Food about 45 EUR * 10

total

A real file ​

CalcFile documents are intended to be ordinary UTF-8 text: local, user-owned, diff-friendly, and not locked to one editor. Generated answers never belong in the source file.

Write, don't program ​

CalcFile is prose-first calculation: a note that happens to calculate. The experimental v0.1 profile covers the Japan example’s assignments, currencies, prose descriptions, headings, and total; its results remain derived editor UI.

One document, many editors ​

The web app and Obsidian integration are reference editors. The file format is deliberately separate from either one.

An open format ​

written specification + conformance suite + reference implementation

The written specification is normative. packages/core is a reference TypeScript implementation, not the specification. Independent implementations are encouraged.

Help design it ​

Read the v0.1 spec · Open an RFC · Report a compatibility finding · Contribute

Prior art ​

Calcator, Numbr, Numi, Numara, and Soulver have all explored thoughtful calculator ergonomics. Mermaid, CommonMark, and Excalidraw inform the open-format process. Their mention is respectful research, not affiliation or endorsement. Read the prior-art notes.

Experimental and pre-1.0 open format for calculation documents.