- Notifications
You must be signed in to change notification settings - Fork1
an arithmetic calculator written with compiling theory in mind
License
NotificationsYou must be signed in to change notification settings
biuld/calculator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
an arithmetic calculator written with compiling theory in mind
- This repo is intended to be a follow-up practice after watching Mr. Landwerth's building a complier tutorial (see the link below) and refresh my knowledge of compiling theory back in the school.
- This repo is not a line-to-line replica to Mr. Landwerth's Minsk Complier (written in C# with OO design).
- I try to write everything from scratch. (might change my mind later :-0 )
- I hope eventualycalculator can be a full fledged complier targeting WebAssembly.
command list:
:context:enableAST:disableAST:help:quit
For nowcalculator supports:
- basic arithmetic computation with parentheses
- if expression
- assignments & variables
- type check
You can check out all the test cases undertest/Spec.hs
Exploring Languages with Interpreters and Functional Programming 2018 Version By H. Conrad CunninghamBuilding a Compiler By Immo Landwerth
About
an arithmetic calculator written with compiling theory in mind
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published