Skip to content

mj426382/DzugaInterpreterInHaskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published