https://github.com/frankbro/mllang
https://github.com/frankbro/mllang
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/frankbro/mllang
- Owner: FrankBro
- Created: 2018-06-25T20:07:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T03:46:14.000Z (almost 7 years ago)
- Last Synced: 2025-01-28T17:14:39.225Z (4 months ago)
- Language: OCaml
- Size: 187 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compiler
Based on https://github.com/tomprimozic/type-systems
## Overview
This is a compiler for a toy language.## Building and Testing
### Setup Instructions
You will need ocaml, opam and oasis installed to run the compiler.
1. Install ocaml and opam using your preferred package manager.
2. Then use opam to install oasis and menhir using `opam install oasis` and
`opam install menhir`.### Build Instructions
Run `make clean` to clean up the directory (if necessary), and run `make` to build the project.### Execution Instructions
The compiler can be run using `./compiler.native`.