Skip to content

Releases: jlam55555/fun-lazy-compiler

G-Machine

09 May 20:44

Choose a tag to compare

Implement Chapter 3, Marks 1-6. Driver is updated to switch between G-Machine and TI Machine.

Template Instantiation Machine

16 Mar 19:00

Choose a tag to compare

Implement Chapter 2 of the TI machine, Marks 1-5. Exceptions:

  • The Print/Stop primitives described at the end of Mark 5.
  • The alternative implementations described after Mark 5, such as the garbage collector.
  • case statements are not implemented, because of the difficulties stated in the book (see: this Stack Overflow post)
  • Lambda abstractions are not implemented since they are introduced in Chapter 6

Also implement a basic driver with command-line options.