Skip to content

1ntEgr8/meow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

About

Gradually typed lambda calculus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages