Skip to content

jmchapman/agda2hs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agda2hs

Compiles a subset of Agda to readable Haskell code. See Test.agda for an example.

Future work

  • Compile lambdas
  • Literals in patterns
  • Use some Haskell syntax ADT and a proper pretty printing library
  • Map instance arguments to Haskell type classes (definitions and use)
  • where clauses
  • Higher-rank polymorphism
  • More builtin types (Double, Word64)
  • Strings (compile to Data.Text)
  • Compile case_of_ λ where to Haskell case
  • with?

About

Compiling Agda code to readable Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 80.0%
  • Agda 11.6%
  • Nix 8.4%