Compilateur en OCaml vers du MIPS
This repository has been archived on 2022-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2022-12-08 00:17:54 +01:00
tests add project startup 2022-12-06 20:39:15 +01:00
.gitignore add gitignore and makefile 2022-12-06 20:38:09 +01:00
.ocamlformat use ocamlformat 2022-12-06 22:22:48 +01:00
ast.ml use ocamlformat 2022-12-06 22:22:48 +01:00
baselib.ml use ocamlformat 2022-12-06 22:22:48 +01:00
compiler.ml use ocamlformat 2022-12-06 22:22:48 +01:00
lexer.mll add project startup 2022-12-06 20:39:15 +01:00
main.ml use ocamlformat 2022-12-06 22:22:48 +01:00
Makefile add spacing 2022-12-08 00:17:54 +01:00
mips.ml use ocamlformat 2022-12-06 22:22:48 +01:00
parser.mly add project startup 2022-12-06 20:39:15 +01:00
README.md Add readme 2022-12-06 20:50:37 +01:00
semantics.ml use ocamlformat 2022-12-06 22:22:48 +01:00

Compilateur vers du MIPS en OCaml

Usage

Compilation

$ make

Utilisation

$ ./main.byte {fichier source} > sortie.s

Une fois le fichier assembleur créé, il est possible d'utiliser spim : spim -file sortie.s

Lance les tests

$ make test