Skip to content

dylanjgscott/miserable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

----------------------------------------------------
Misery <3 Company - A Compiler/Interpretor Front-End
----------------------------------------------------
COMP3109 - Sem 2 2014
Assignment 2

Group Members:
    Rafael Mazzoldi 310232376
    Dylan Scott     312113625
    Alec Posney     312063385

---------------
File Structure
--------------

README
makefile
compile.sh
run.sh
src/
    misery/ 
        makefile
        Misery.hs
        Misery.x
        Misery.y
        Program.hs
        Semantic.hs
        Generator.hs
    company/
        makefile
        Interpreter.hs
        Company.hs
tests/
    InterpreterTests.hs
    LexerTests.hs
    ParserTests.hs
    Tester.hs
    expected/
        Result files for unit testing.
    input/
        Input files for unit testing.
-------------------------
Compilation and execution
-------------------------

Misery and Company can be compiled with the 'make' command in the root directory

The unit testing suite can be compiled and run with the 'make test' command. See tools note below for further information

-------------------------
Languages, Tools and Version Numbers
-------------------------

Haskell ghc 7.4.1 - 7.6.1 (Should also work on ghc 7.8)
Happy 1.18.9
Alex 3.0.1

For testing to work:

The following Haskell Testing Framework must be installed:
HUnit 1.2.5.2  
cabal-install version 1.16.0
----------
HUnit Tests
----------

see test files for details









About

Compiler written in Haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published