calcool 1.1.0

A terminal based calculator written in D


To use this package, run the following command in your project's root directory:

Calcool

A terminal based calculator based on pratt's parser and written in D

How to run?

Install dub and ldc on your system, then run:

dub --compiler=ldc

Usage

Use in command line

Usage: calcool [OPTION] [ARGUMENT]
        -h : Print this help message
        -i : Set input file (each expression in a separate line)
        -c : Calculate the given expression

Use as a library

auto p = new Prser();
string result = p.evaluateFromString("sin(45*2) - 22 * -exp(3)");

License

GPL-3.0+

Authors:
  • Alireza |S.N|
Dependencies:
none
Versions:
1.1.0 2020-May-10
1.0.1 2020-May-10
1.0.0 2020-May-09
~master 2020-May-14
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 1 downloads this week

  • 1 downloads this month

  • 1 downloads total

Score:
0.4
Short URL:
calcool.dub.pm