Commit d2bbf397 authored by Tadej Borovšak's avatar Tadej Borovšak
Browse files

Add readme file

parent bef73f02
# First homework
This repository contains simple lexer, parser and interpreter for small
programming language called `Imp`.
## Prerequisites
Project is written in Hasekll and uses `alex` lexer generator and
`happy` parser generator. Additionally, test suite requires `hspec`
haskell package. And to make things a bit easier to compile and run,
`make` program can be used to orchestrate the process.
## Using program
Simples thing to do in order to make sure everything works according to
specs is to run `make test` command. This will execute complete test
suite and print results to the console.
To start interactive `ghci` session with all required modules preloaded,
simply execute `make run`.
To clean any intermediary files produced by generators, execute
`make clean`.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment