Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davideimola/myinterpreter

Interpreter built in OCaml
https://github.com/davideimola/myinterpreter

interpreter ocaml university university-project

Last synced: 3 days ago
JSON representation

Interpreter built in OCaml

Awesome Lists containing this project

README

        

# myInterpreter

The aim of this project was to build an Interpreter for the purpose to pass a University exam.

We used our knowledge of interpreter logic and OCaml programming language for the development.

## Table of contents

- [Examination text](#examination-text)
- [Quick start](#quick-start)
- [Authors](#authors)

## Examination text

Build an imperative and functional interpreter with OCaml, with those features:

- Insert the String type in the language and some other functions. (ex: length, concat, ...)
- Implement the reflect command. (ex: eval() in JavaScript)

## Quick start

Before you can download and run our interpreter, you must download:

- [OCaml Programming Language](https://ocaml.org)

Now to can run our code, go to the project folder of the imperative of functional interpreter and execute those commands in the terminal:

```bash
$ ocaml
#use "main.ml";;
```

## Authors

**Davide Imola**

- [Site](https://www.davideimola.com)
- [GitHub](https://github.com/davideimola)

**Andrea Slemer**

- [GitHub](https://github.com/andreaslemer)