The editor
The app at smoot.app is one document: your lines on the left, their answers on the right. Every keystroke recomputes the whole document.
Results. A line that names a value shows in grey; a bare expression shows in bold. A line with an error shows its message in red where the answer would be, and the faulty span is underlined in the editor. A warning is a dashed underline; hover or tap it for the message. F8 jumps to the next problem.
The answer bar. Click a result, or focus it and press Enter, to see all
of it in a bar under the document, beside its line. Copy copies the result
as displayed, digit grouping included, and it is valid smoot: paste
$1,498.88 or £1.45 /litre back into a document and it reads as the same
value. On a named line, Copy with name copies the whole line, such as
monthly rent = 1,350. The arrow keys step through the answers, and Esc
closes the bar. On a phone, while you type, a strip on top of the keyboard
shows the answer to the line you are on, with Copy; tap another result to
see that one there.
Starting a document. An empty document shows a dimmed example. Its Try button or Tab keeps the example; typing replaces it. The title field at the top names the document; an untitled document is listed by its first line.
Library. The Library menu has three tabs. Documents lists yours, newest first, with rename and delete; documents save automatically in this browser and nowhere else. Examples are grouped by topic and open read-only; “Edit a copy” makes an editable one. Add-ons lists the bundled modules by area, each with the formulas it provides; “Add import” puts the import line at the top of your document, and the name opens the module’s source. The search box searches all three tabs at once, and each tab shows how many matches it holds. New, beside Library, starts a fresh document.
Share. Share copies a link that carries the document’s text and title. Anyone who opens it gets their own editable copy. Nothing else travels, and nothing is stored on a server.
Output settings. The gear opens a panel that overrides the document’s defaults in this tab, including after a reload: unit group, digit separator, grouping, and a number format (normal, 1 to 20 significant figures, or 0 to 20 decimal places). Each setting’s “default” choice returns to the document’s own.
Currency rates. The app fetches the day’s rates when it loads and falls back to a bundled snapshot if it cannot.
The clock. now and today are fixed when the page loads, in your
browser’s time zone. Reload to advance them.
Dark mode. The app follows your system’s light or dark setting. The moon and sun button overrides it and remembers the choice.
Live blocks in these docs
Section titled “Live blocks in these docs”Every fenced smoot block on this site is a live editor with the same engine. In the reference and the worked examples each block is independent. A page can also let blocks share one document, so a name defined in an earlier block is available in a later one. Edits last until you leave the page.