Skip to content

paritosh149/rpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator - Reverse Polish Notation

The idea is to build a basic RPN calculator

Run it on console

NOTE: JRE 8 or above is required

java -jar .\target\rpn-1.0-SNAPSHOT.jar

Run it on browser (via CheerpJ)

https://paritosh149.github.io/rpn/

TODO items

  • Add Readme.md
  • Input and Output Streams should be configurable
  • Prefer convention to configuration
  • Test cases - all passed
  • Full Code Coverage achieved in test cases
  • Convert to Maven project
  • Run and Test JAR independently
  • Consider Reactive Streams to process input line
  • Consider Asynchronous calls to operation functions
  • Document the API and its dependencies
  • Package CalculatorImpl in a separate package
  • Convert operations to be available as jar plugins
  • Tracing and Logging AOP
  • Use Mockito to make each class independently testable
  • IDE warnings removed or rectified
  • CLI enablement and inclusion of documentation using --help flag
  • Consider sharing behaviour instead of state
  • Consider dev mode vs prod mode
  • Create Docker image
  • Added Github action to update demo site on every push to master