The Boo Programming Language (c) 2009 Rodrigo B. de Oliveira (firstname.lastname@example.org)
to build the project.
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:
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
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
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]
You can also have booi to read from stdin by typing:
You can generate .net assemblies by using
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