Skip to content

An implementation of the Hindley-Milner type inference/reconstruction algorithm in Ruby

License

Notifications You must be signed in to change notification settings

toroidal-code/hm-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hm-rb

An implementation of the Hindley-Milner type inference/reconstruction algorithm in Ruby.

About

This implementation is based on the python version, making this the fifth in the line of the implementations.

This was done in order to better understand how HM-inference, and Algorithm W work for my language Brick. There will probably follow either a C or C++ version, that is closer to the Visitor pattern, in order to make AST traversals easy, but without Boost. ##Usage

ruby hm.rb

Generate Documentation

yard doc hm.rb

About

An implementation of the Hindley-Milner type inference/reconstruction algorithm in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages