calc is a web app calculator built on top of Svelte and Mathjs. It is capable of handling the following:
- Arithmetic evaluation
- Conversion between common units, such as inch and cm
- Symbolic computation
It uses the syntax defined here.
To run calc
, install dependencies with npm install
(or pnpm install
or yarn
), start a
development server:
npm run dev
To create a production version of the app:
npm run build
You can preview the production build with npm run preview
.
Calc is intended to be deployed as static pages, well suitable for e.g. Github pages.