Skip to content

YueLiPicasso/untyped_unify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Untyped Unification of OCaml Runtime Values

We propose a perspective to view OCaml runtime values as first-order terms, and provide an algorithm for their unification. There are also pretty-printers for inspecting the values and the results of unification.

Online doc/tutorial.

Build documentation:

make doc

Build bytecode object file:

make

Test the module (in OCaml REPL)

# #load "untyped_unify.cmo";;
# open Untyped_unify;;
# shows @@ unify [1;v()] [v();2];; 
- : string = "<v1> / 2 , <v0> / 1"

About

first-order unification of OCaml runtime values

Resources

License

Stars

Watchers

Forks

Packages

No packages published