Skip to content

piotrbartnik/RPNcalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Polish Notation calculator

Live Demo License

Reverse Polish notation is type of mathematical notation where the operators follow their operands. For example (1+4)*5 in RPN equals to 4 1 + 5 *.

For parsing standard mathematical equation to this RPN calculator uses Shunting-yard algorithm.

For practical use calculator can multiply, divide, add and substract and show result on upper screen and RPN equation on lower screen.

Technologies used

HTML5 Sass JS Gulp babel

Instalation and test

To install type:

npm install

To run test type:

npm test

Tests are written in Jest.

Type of calculator

Layout and features of calculator are borrowed from Casio SL-831 liquid calculator.

That type of calculator had fenature that draws card color and number from 1 to 13. Than players could read their fate from provided guide.

You can find more about this calculator here

About

Simple calculator with RPN function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published