Skip to content

humberto-ortiz/compilers-2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compilers-2015

Example code for compilers class.

You will need a copy of the example code from the textbook also.

http://www.cs.princeton.edu/~appel/modern/ml/project.html

Code for example problems

maxargs.sml - a modified exercise, count the maximum number of arguments in any constructor for straight line programs. My version is buggy. You need to fix it.

interp.sml - half of a working interpreter for straight line programs. You need to implement update and the rest of interpexp and interpstm.

slp/ - a nearly correct parser and interpreter for straight line programs. See the README for usage instructions. You need to fix some shift/reduce conflicts.

tiger/ - A skeleton compiler for tiger, using the code from Chapter 3-6 and the examples we did in class. See the README.md there for more details and examples.

About

Example code for compilers class.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published