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:
Manual usage
Put the following dependency into your project's dependences section:
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+
- Registered by Alireza Saleh
- 1.1.0 released 3 years ago
- TheWeirdDev/Calcool
- GPL-3.0
- Copyright © 2020, Alireza |S.N|
- Authors:
- Dependencies:
- none
- Versions:
-
1.3.1 2021-Feb-20 1.3.0 2020-Nov-22 1.2.1 2020-Oct-02 1.2.0 2020-Jun-09 1.1.0 2020-May-10 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
1 downloads this month
-
32 downloads total
-
- Score:
- 1.1
- Short URL:
- calcool.dub.pm