-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
76 lines (57 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
----------------------------------------------------
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