Skip to content

JnxF/idris-epigram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Idris EPIGRAM

Idris workflow Hits GitHub stars GitHub forks GitHub repo size in bytes GitHub contributors GitHub license

Idris implementation of a type-correct, stack-safe compiler including exception handling.

Based on the following papers:

Report PDF

Check our report explaining our development process and conclusions about the project.

Installation

Install Idris 1.

Usage

$ idris throw.idr
     ____    __     _
    /  _/___/ /____(_)____
    / // __  / ___/ / ___/     Version 1.3.3
  _/ // /_/ / /  / (__  )      https://www.idris-lang.org/
 /___/\__,_/_/  /_/____/       Type :? for help

Idris is free software with ABSOLUTELY NO WARRANTY.
For details type :warranty.

*throw> compiledProgram
PUSH (VNat 3)
     (STORE "x"
            (LOAD "x"
                  (PUSH (VNat 1)
                        (ADD (STORE "x"
                                    (LOAD "x"
                                          (PUSH (VNat 2)
                                                (ADD (STORE "y"
                                                            HALT))))))))) : Code []
                                                                                 []
                                                                                 []
                                                                                 [("y",
                                                                                   NatTy),
                                                                                  ("x",
                                                                                   NatTy),
                                                                                  ("x",
                                                                                   NatTy)]

Authors

  • Francisco Martínez Lasaca
  • Morten Skøtt Knudsen
  • Jeppe Vinberg

License

MIT

About

🤓 Idris implementation of a type-correct, stack-safe compiler including exception handling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages