A simple Java Calculator made for fun that can calculate expressions using my version of Shunting-yard
algorithm.
This project is an implementation of the popular Calculator app with a GUI that resembles the iPhone design and colours and currently supports basic operations and nested expression calculus that contains the following operations:
- addition
- difference
- multiplication
- division
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To check if you already have the requirements run the following command(cmd/linux terminal):
- for Java:
java --version
- for Maven:
mvn --version
If you don't have the requirements above mentioned you should follow the following links to install them:
To run the app you should follow the next steps, after installing the requirements. In the root folder of the project type:
mvn install
If the above command succeeds you should have a new folder called target. After this to run the app you should type:
mvn exec:java
To run the unit-tests on your local computer type the following command: mvn test
After running the mvn exec:java
command you should be ready to use the Calculator app developed in this project.
- Maven - build tool
- Java 14 JDK - virtual machine needed to run & compile the Java code
- Visual Studio Code - code editor
- @gabriel-rusu - Idea & Initial work