Skip to content

A self-introduction to working with typescript and react. I also stumbled upon the interesting Pratt Parser (AKA the Top Down Operator Precedence Parser, which is a generalized precedence climbing parser), and have been enjoying implementing that as part of this project.

Notifications You must be signed in to change notification settings

ZoeAstra/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

This is a calculator built in React using Typescript.

It utilizes the slightly more complex Pratt Parser rather than some of the more traditional methods, as I find it to be more robust and extensible. It was also just a fun challenge to implement.

It is not yet completed, I feel. While it can do all of the basic math functions, I want to add some more complex ones. I also want to improve the error handling, as currently it is rather lackluster.

About

A self-introduction to working with typescript and react. I also stumbled upon the interesting Pratt Parser (AKA the Top Down Operator Precedence Parser, which is a generalized precedence climbing parser), and have been enjoying implementing that as part of this project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages