FelixKiunke / Calculator

Simple parser and calculator written in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator

Simple parser and calculator written in C

How to set up:

  1. Clone repository
  2. In root directory, run make.sh to compile sources
  3. Add alias such as c="~/Calculator/bin/calculator.out $@" in ~/.bash_aliases (when using the bash) to run program from anywhere. Arguments can be any expression as in interactive mode, which is started when program is executed without additional arguments)

Type 'debug' to visually see parsed abstract syntax tree, or 'help' to list available operators.

About

Simple parser and calculator written in C


Languages

Language:C 99.4%Language:Shell 0.6%