Skip to content

EthanKuai/calculator

Repository files navigation

calculator

A simple calculator accepting a string input and spits out the results

Motivation

I have always wanted to produce a simple calculator-string parser. I plan to improve this in the future by adding a GUI and improving it to store variables and perform numerical calculus.

Features

A command shell input/output. Accepts basic arithimetics, brackets, e, pi, and trigonometric expressions.

Dependencies

Installation

git clone https://github.com/EthanKuai/calculator.git

Usage

Command Shell

Forever waits for input. Input accepts any number of mathematical expressions to calculate, separated by ;. Type "quit" to exit.

! Will do full list in the future

Explaination behind logic

Full explaination can be found here.

Summary

About

A simple calculator accepting a string input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages