Skip to content

A compiler for a subset of the Manatee Programming Language

Notifications You must be signed in to change notification settings

rtoal/manatee-subset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A compiler for a subset of the Manatee Programming Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages