Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.01 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.01 KB

meow

An implementation of Gradual Typing for Functional Languages.

I started writing this on International Cat Day and decided to name the repo meow ;).

Some meow-difications from the paper:

  • "meow", "😺", "😸", "😹", "😻", "😼", "😽", "🙀", "😿", "😾" are aliases for the ? type
  • "meow", "😺", "😸", "😹", "😻", "😼", "😽", "🙀", "😿", "😾" are also commands! They print out a random cat emoji ;)

You will need sedlex and menhirLib to build the project (in addition to the OCaml toolchain of course, >= 14.4.0).

Running the examples

Evaluate file:

dune exec bin/main.exe -- examples/<name-of-file>

Only run the typechecker

dune exec bin/main.exe -- examples/<name-of-file> --typecheck

Dump Cast AST

dune exec bin/main.exe -- examples/<name-of-file> --dump-cast