Skip to content

huwdp/HCalc

Repository files navigation

HCalc

Description

HCalc is a Reverse Polish notation calculator built to research how mathematics expressions can be parsed and calculated. This project was going to start out as a calculator and eventually turn into an interpreter but did not. HuwInterpreter was created instead. I made this project in my spare time as someone wanted me to learn how infix to postfix and postfix evaluation works in the past so I created this project.

Image

###

Installation

sudo apt-get install git g++ qt5-qmake make qt5-base qt5-dev qtcreator
cd HCalc
qmake
make
cd ../home/huw/build-HCalc-Desktop-XXXXX.

Replace XXXXX with build folder type i.e. Debug or Release.

License

GNU General Public License v2.0. See license.txt for more information.

Project status

This project might be expanded upon in the future. The system is just meant to give an example of how the shunting algorithm (infix to postfix and postfix evaluation) works.