This is experimental projects which dervied from ooc (object oriented C). I used the concepts for ooc to create tools such as calculator run on terminal console
the calculator is a intermidated tool created by parsing experssion
syntax: [-v] -v: show debug logs
$ make tests
sh ./mytests.sh "bcalc -v"
OK, origin= 2 * 2 + 10 * 2 + 4 / 8 + 1, result=25.5
OK, origin= (2 * 2) + 10 * (2 + 4) / 8 + 1, result=12.5
OK, origin= (2 * -2) + 10 * (2 + 4) / 8 - 1, result=2.5
cat tests/file01.txt | ./bcalc
bcalc version 0.1.1000
0.5
20
990
- 2016-08-12 support travis-ci