Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lambdageek/gust

Small language with Pierce/Turner type inference
https://github.com/lambdageek/gust

Last synced: 25 days ago
JSON representation

Small language with Pierce/Turner type inference

Awesome Lists containing this project

README

        

gust
====

Small language with Pierce/Turner type inference.

There's a syntax, some semantic types, a parser and a typechecker here. The typechecker uses bidirectional typechecking with local type inference on function applications to infer the type arguments based on the synthesized types of the expression arguments.

Some examples in the `examples/` directory. Use with GHCi and the `rp` function from `Example.hs`

There is no pretty printer, so everything is ugly.