Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 817 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 817 Bytes

This is a compiler for a subset of the Manatee Programming Language.

The idea is for students to fork this repository to build their own compilers and interpreters for the full language. After all, it can be argued that extending a compiler for a small language has more pedagogical value that having students implement everything from scratch.

Manatee is described at http://cs.lmu.edu/~ray/notes/manatee.

Here are some of the full language features not implemented in this subset:

  • Modules
  • Codepoint escapes in character and string literals
  • Object types and literals
  • Increment and decrement statements
  • The down modifier on range loops
  • Parallel assignment
  • Exceptions
  • Timers
  • unless and until modifiers
  • Bitwise operators
  • Modulo operator
  • Divides operator
  • Bitwise complement operator