forked from boo-lang/boo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
78 lines (46 loc) · 1.6 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
The boo programming language (c) 2009 Rodrigo Barreto de Oliveira ([email protected])
Building
========
Just type:
nant
to build the project.
nant test
will also run all the unit tests.
mono users might want to do this instead:
nant compile-tests && nunit-console tests/build/*Tests.dll
to rebuild everything from scratch:
nant rebuild
the rebuild target will also cause the ast classes and parser
to be regenerated (needs a java vm).
How to Start
============
For a brief description of the project and its goals
take a look at docs/BooManifesto.sxw.
extras/boox contains a sweet little tool you can use
to get yourself acquainted with the language.
src/ contains all the source code for the runtime and
compiler components.
tests/ contains all the unit tests
testcases/integration is a good source of information
on the language features.
lib/ contains project dependencies such as antlr.
bin/ contains the latest version that passed all the tests
and could be successfully used to rebuild the system.
Running and compiling code
==========================
To execute a boo script run:
booi <script> [args]
For instance:
booi examples/hw.boo
You can also have booi to read from stdin by typing:
booi -
You can generate .net assemblies by using booc (either
the booc.exe utility or the booc nant task):
booc -output:build/hello.exe examples/hw.boo
If you want to simply see the transformations applied to
your code by the compiler use the boo pipeline, run:
booc -p:boo examples/replace.boo
More Information
================
http://boo.codehaus.org/
http://boo.codehaus.org/Mailing+Lists