jcm300 / jasmin

Jasmin compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jasmin

This repository contains the following subdirectories:

  • compiler/ : Compiler from jasmin-lang to assembly.
  • proofs/ : Coq implementations of compiler passes / checkers.

Dependencies

  • For the compiler: check compiler/README.md
  • For the proofs:
    • Coq (tested with 8.7.2)
    • The Mathematical Components library for Coq (tested with 1.7.0)

Testing

  1. To compile and test the compiler:
    • $ cd compiler
    • $ make CIL build
    • $ make tests
  2. To compile Coq proofs:
    • $ cd proofs
    • $ make

License

All our code is MIT licensed. Since we use GPL licensed third party Coq theories and extract code from the LGPL licensed Coq standard library, our compiler is GPL licensed.

About

Jasmin compiler

License:GNU General Public License v2.0


Languages

Language:Coq 57.7%Language:OCaml 14.3%Language:Assembly 14.2%Language:eC 7.1%Language:C 4.1%Language:Shell 1.3%Language:Python 0.7%Language:Makefile 0.6%Language:Nix 0.1%