Skip to content

A JavaScript calculator that uses an optimized Shunting-Yard Algorithm and stack based approach to calculate an expression in a single pass.

Notifications You must be signed in to change notification settings

frontrunner44/PrettyCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator with Optimized Shunting-Yard Algorithm

Introduction

This repository contains a calculator application that efficiently parses and evaluates mathematical expressions using an optimized version of the Shunting-Yard algorithm. Unlike traditional implementations, this calculator combines the conversion of the expression to postfix notation and the calculation of the result in a single pass, resulting in improved memory usage and potentially faster execution.

About

A JavaScript calculator that uses an optimized Shunting-Yard Algorithm and stack based approach to calculate an expression in a single pass.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published