mj426382 / DzugaInterpreterInHaskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell Interpreter

Interpreter of my own programming language called Dzuga written in Haskell as a JPP project.

It depends on two monad types: reader and exept.

Type Checker

In type checker i use both monads, i store exceptions on exept monad and map from identifier into type in reader one.

Dzuga Interpreter

In interpreter i also use both monads, i use the same way of storing exceptions and i store map from identifier into specific value like bool, int, string, function and array.

Running

You need to have: BNFC, ghci and make installed on your computer to run it.

Compile program with

make

Run

Main.exe <path_to_dzuga_code>

About

License:MIT License


Languages

Language:Haskell 99.5%Language:Makefile 0.5%