Skip to content

mikemherron/go-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Calculator

A simple command line calculator in Go. Implemented to practice Pratt Parsing from the Crafting Interpreters book, heavily inspired by this article. Correctly handles precedence, parentheses, and the power operator in a right associative way.

images

Still lots of things not supported, such as overflow.

About

Go command calculator using Pratt Parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages