Skip to content

A simple string calculator based on Clean Architecture.

Notifications You must be signed in to change notification settings

njobber/Calculator

Repository files navigation

DISCLAIMER

This is a demonstration project. So, it's over-engineered a bit. You may run into spagetti inside ;)

A simple string calculator based on Clean Architecture.

Layers:

  • CORE >>> calculating string expression
  • UI >>> user input handling, calculation result handling

Features:

  • simple arithmetic operations (addition, subtraction, multiplication, division)
  • unary subtraction
  • operation's priority assignment