nerett / rd_calculator

A simple, recursive descent-based CLI calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RDCalc

RDCalc is a simple, recursive descent-based CLI calculator. It analyzes mathematical expression using grammars and calculates the result.

Usage

You can run RDCalc with (also see Building from source)

make run <math expression>$

Supported symbols: (, ), *, /, +, - and numbers. You have to put $ in the end of expression. Use make rund instead to run in debug mode.

Building from source

Download this repository with

git clone https://github.com/nerett/rd_calculator.git

Build it with

cd rd_calculator/
make

To totally rebuild the project run

make clean
make

Documentation

This section isn't done yet.

About project

This programm was written during MIPT Ded's cource.

About

A simple, recursive descent-based CLI calculator

License:GNU General Public License v3.0


Languages

Language:C++ 78.7%Language:Makefile 21.3%