-
Notifications
You must be signed in to change notification settings - Fork 0
/
HACKING
61 lines (39 loc) · 1.64 KB
/
HACKING
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
Getting started with hacking on GAC
-----------------------------------
So you've decided to hack on GAC, congratulations! We hope you have a
rewarding experience. This file will point you in the direction of
information to help you get started right away.
The GAC Developer's Wiki
------------------------
Quick Start for developers
http://courses.softlab.ntua.gr/compilers/
This page will get you up and running with compilers
course and Alan language in no time:
Coding conventions
http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions
This wiki page explains the ground rules for code that is intended
to go into the mainline compiler source.
Mailing lists
-------------
Ask on [email protected] if you have difficulties.
Layout of important files and directories
-----------------------------------------
This section summarises the overall file and directory structure
of GAC. Everything starts with the main GAC repository. The build
system calls that directory $(TOP).
All the paths below are relative to $(TOP).
Files in $(TOP)
Documentation files
README, INSTALL, HACKING, LICENSE
Makefile
The top-level Makefile. GAC requires GNU make.
libraries/
The libraries/ directory contains all the packages that a program
written in Alan needs in order to build.
src/, docs/
These directories contain the main GAC compiler and documentation.
The src/ directory contains the gac package, which is linked into
an executable in the dist/ directory.
testsuite/
The testsuite/ directory contain apparatus for testing GAC.
Happy Hacking! --The GAC Team