forked from bjpop/berp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
78 lines (53 loc) · 1.58 KB
/
README.txt
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
68
69
70
71
72
73
74
75
76
77
78
Berp, an implementation of Python 3
-----------------------------------
License and Copyright
---------------------
Berp is distributed as open source software under the terms of the BSD
License (see the file LICENSE in the top directory).
Author: Bernie Pope, copyright 2009, 2010.
Contact information
-------------------
Email Bernie Pope:
florbitous <at> gmail <dot> com
Building and installing
-----------------------
Berp uses the cabal infrastructure for configuring, building and installation.
To configure:
cabal configure
To build:
cabal build
To install:
cabal install
To clean:
cabal clean
Testing
-------
Berp uses shelltestrunner for regression testing. Tests can be run like so:
make test
Shelltestrunner can be installed from Hackage:
cabal install shelltestrunner
Don't worry if some tests fail.
Directory structure
-------------------
---- src
|
|---- include # C header files
|
|---- Berp
|
|---- Base # runtime primitives
| |
| |---- Builtins # implementation of Python's builtins
| |
| |---- StdTypes # standard Python classes
|
|---- Compile # translator from Python to Haskell
|
|---- Interpreter # interface to the GHC API
---- test
|
|---- regression # regression tests
|
|---- features # tests for specific language features
|
|---- programs # Python programs