Skip to content

pedroangelo/gradualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

gradualizer

Implementation of the Gradualizer (described in The gradualizer: a methodology and algorithm for generating gradual type systems, M. Cimini and J. G. Siek)

TODO:

  • Modify code to take into account covariance and contravariance of types

Load module Gradualizer

$ cd gradualizer/src/
$ ghci
Prelude> :l Gradualizer.hs

How to generate a gradual type system:

*Gradualizer> ts <- generateGradual "stlc"
*Gradualizer> GTS.printSystem ts

How to generate a compiler to the cast calculus:

*Gradualizer> ts <- generateCompiler "stlc"
*Gradualizer> CC.printSystem ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published