boo

所属分类:编程语言基础
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2022-07-21 09:42:58
上 传 者sh-1993
说明:  Boo编程语言。
(The Boo Programming Language.)

文件列表:
.project (500, 2022-07-06)
.settings/ (0, 2022-07-06)
.settings/org.eclipse.core.resources.prefs (521, 2022-07-06)
.travis.yml (936, 2022-07-06)
AUTHORS (400, 2022-07-06)
Makefile.am (21, 2022-07-06)
appveyor.yml (184, 2022-07-06)
ast.model.boo (11632, 2022-07-06)
bin/ (0, 2022-07-06)
bin/Boo.Lang.CodeDom.dll (31744, 2022-07-06)
bin/Boo.Lang.Compiler.dll (1021440, 2022-07-06)
bin/Boo.Lang.Extensions.dll (71680, 2022-07-06)
bin/Boo.Lang.Interpreter.dll (71168, 2022-07-06)
bin/Boo.Lang.Parser.dll (439808, 2022-07-06)
bin/Boo.Lang.PatternMatching.dll (29696, 2022-07-06)
bin/Boo.Lang.Useful.dll (72704, 2022-07-06)
bin/Boo.Lang.dll (138240, 2022-07-06)
bin/Boo.Microsoft.Build.Tasks.dll (12800, 2022-07-06)
bin/Boo.Microsoft.Build.targets (4724, 2022-07-06)
bin/Boo.NAnt.Tasks.dll (24576, 2022-07-06)
bin/Makefile.am (618, 2022-07-06)
bin/booc.exe (26112, 2022-07-06)
bin/booc.exe.config (258, 2022-07-06)
bin/booc.rsp (568, 2022-07-06)
bin/booi.exe (33280, 2022-07-06)
bin/booi.exe.config (258, 2022-07-06)
bin/booish.exe (4096, 2022-07-06)
bin/booish.exe.config (258, 2022-07-06)
booc (39, 2022-07-06)
booi (39, 2022-07-06)
build-tools/ (0, 2022-07-06)
build-tools/.config-build (746, 2022-07-06)
build-tools/.config-build.ps1 (650, 2022-07-06)
build-tools/bootstrap (1550, 2022-07-06)
build-tools/bootstrap.ps1 (1722, 2022-07-06)
build-tools/versions (89, 2022-07-06)
build.gradle (3797, 2022-07-06)
... ...

[![Build Status](https://travis-ci.org/boo-lang/boo.svg?branch=master)](https://travis-ci.org/boo-lang/boo) The Boo Programming Language (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org) Prerequisites ============= ## Windows - .NET 4.5 - [Visual C++ Build Tools*](http://landinghub.visualstudio.com/visual-cpp-build-tools) \* Boo is built with NAnt, which must be built from sources, which requires NMake, which comes with the Visual C++ Build Tools. ## Mac/Linux - Mono 4.2.x (4.2.4 is the latest and recommended) - Bash Build Tools ============== You can install compatible versions of the required tools into the ```build-tools``` directory, where the build scripts will execute them from, by running the bootstrap script. ## Windows The bootstrap script is a PowerShell script; however, it must be run from a x86 Native Tools Command Prompt: ``` # FROM A x86 NATIVE TOOLS COMMAND PROMPT powershell .\build-tools\bootstrap ``` ## Mac/Linux ``` ./build-tools/bootstrap ``` ### Mac Building Boo requires Mono 4.2.x, which is not likely to be your "Current" version of Mono. To avoid having to switch your current version every time you want to work on Boo, you can specify the version to use when you run the bootstrap script. The build scripts will then use that version of Mono, regardless of your current version. ``` ./build-tools/bootstrap [] ``` Building ======== To build the repository, run the ```nant``` script: ```PowerShell # Windows (PowerShell) .\nant [] ``` ```sh # Mac/Linux ./nant [] ``` With no target specified, this will build the repository (code and tests) incrementally. To clean and build the repository from scratch, run the "rebuild" target. This will also cause the ast classes and parser to be regenerated (needs a java vm) To run the unit tests that have already been built with ```nant```, run the ```nunit``` script: ```PowerShell # Windows (PowerShell) .\nunit ``` ```sh # Mac/Linux ./nunit ``` To build and test the entire repository, the same way the CI build does, run the ```ci``` script: ```PowerShell # Windows (PowerShell) .\ci ``` ```sh # Mac/Linux ./ci ``` 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