A cool calculator and unit conversion utility written in Clojure. Parses natural English phrases like "how many inches are in 3 feet?" and evaluates them using arbitrary-precision arithmetic on all platforms.

calc can be accessed from several runtimes:

  • In your CLI via Babashka, JVM Clojure, or Python (Basilisp).
  • On the Web at calc.rymcg.tech (100% client-side) or by downloading a copy of of the bundled website: calc.html.
  • As a Library in your Clojure/ClojureScript/Basilisp applications.

Local only, no LLM used for natural English phases.

no comments (yet)

sorted by: hot top controversial new old
there doesn't seem to be anything here
3 comments in c/foss@beehaw.org view that post
[–] 9 points 4 months ago

At first I thought it's just a libqalculate clone, but this is actually cool.

  1. Written in Clojure +1
  2. Multiple runtimes + web
  3. Cool website

This is an actually useful project.

  • source
  • [–] 9 points 4 months ago (1 child)

    Interesting. I don't see a lot of software written in Clojure!

  • source
  • hideshow 1 child comment
  • 1 comment in c/opensource@lemmy.ml view that post
    [–] 1 point 4 months ago

    For anyone wondering calc is short for

  • source