Skip to content

cameronbourke/YACC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YACC (Yet Another Calculator Compiler)

👷‍♂️ WIP

This is still very much a work in progress. The spirit of the project is to let those new to compilers and interpreters to get their hands dirty implementing a simple calculator! To get a feel for where the project is heading, check out the unfinished site.

The Dilemma

The year is 1973. You find yourself having just been hired by the US Department of Defense to work on the next greatest missile system. You can't believe you actually landed the job! On your first day, the program manager shows you the ropes. You can't help but be excited, Version 4 Unix has just been released and you've been told that they have it running on their new PDP11's. As the manager leaves you at your desk, they briefly mention that there is no tolerance for miss calculations. You quickly reply with a sharp ofcourse! It then dawns on you, the calculator program on Unix, [dc](https://en.wikipedia.org/wiki/Dc_(computer_program>), is in postfix notation! A wave of panic washes over you as recall how mistake prone you are with this notation. You simply can't do your job with dc.

About

Yet Another Calc Compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published