ganit गणित

Accepted ADR 0004 · 2026-10-24

#4. The converter is a tab of ganit, not its own tool

#Context

Converting money meant remembering qalc's syntax (100 USD to INR) and typing one expression per currency. A converter wants a different shape: an amount once, then every currency (or unit) you care about at the same time, with each rate and how old the rates are. It could be its own Vyom tool or part of ganit.

#Decision

Convert is a second tab of ganit (Vyom's tabs: Ctrl+H / Ctrl+L), opened directly with vyom ganit convert. Both tabs share qalc, the exchange rates and their refresh, the history and the number formatting. Calculate keeps qalc's full syntax; Convert parses only "amount + currency or unit" and asks qalc for every target in one run (expressions on stdin).

#Consequences

← All decisions · source