tcalc

Minimal desktop calculator for timestamps
README

TCalc

This is a minimal desktop calculator (taken from the Lex/Yacc section of
the OCaml manual) that can parses 3:04.5 as a time and covert it
into 184.5 seconds. I'm using it for simple time calculations.

$ tcalc
3:04.5
184.50 (00:03:04.50)
11:52.2 / 2670 * 500
133.37 (00:02:13.37)
$ 

Installation

This is an OCaml project, it assumes you have available on a Unix
system:

  • OCaml

  • Dune

  • Make

make 
make install

Contribute

If you find this useful, please contribute back by raising pull
requests for improvements you made.

Install
Sources
tcalc-1.0.1.tbz
sha256=ca4ad22224da943592779fbba8d29792a5ef0b9474bdfd5cbf36cb1e0de092ef
sha512=a8d9f197eb2fa85ac9b1c5c46fb6c8719f4c85108a0be1071f4f7b1a4b73f0b890937e1f7516efa7058e30f360cecfb6d348448048eb23d14b8f425217009538
Dependencies
linenoise
>= "1.3.1"
ocaml
>= "4.08.0"
dune
>= "2.0"
Reverse Dependencies