Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strykerkkd/maco
virtual machine in ocaml
https://github.com/strykerkkd/maco
bytecode-interpreter ocaml virtual-machine vm
Last synced: 13 days ago
JSON representation
virtual machine in ocaml
- Host: GitHub
- URL: https://github.com/strykerkkd/maco
- Owner: StrykerKKD
- License: mit
- Created: 2017-11-04T20:51:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T14:44:14.000Z (about 7 years ago)
- Last Synced: 2024-12-01T06:45:00.850Z (2 months ago)
- Topics: bytecode-interpreter, ocaml, virtual-machine, vm
- Language: OCaml
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MACO: Virtual Machine in Ocaml
MACO is a simple Ocaml port of the [MAC](https://github.com/felixangell/mac) project.
## How to use:
You should use the project with the latest version of the ocaml compiler.
You can optain the latest version of ocaml with the use of the [opam switch command](https://opam.ocaml.org/doc/Usage.html#opam-switch).You only need jbuilder for this project:
```sh
opam install jbuilder
```Clone:
```sh
git clone https://github.com/StrykerKKD/maco.git
cd vmao
```Build:
```sh
jbuilder build maco.exe
```Run:
```sh
./_build/default/maco.exe
```## Project structure:
* maco.ml: Simple imperative virtual machine
* macofp.ml: Simple functional virtual machine