<commit_before># Welcome to Base9!

[![Build Status](https://api.travis-ci.org/b9org/b9.svg?branch=master)](https://travis-ci.org/b9org/b9)
[![Coverage Status](https://coveralls.io/repos/github/b9org/b9/badge.svg?branch=master)](https://coveralls.io/github/b9org/b9?branch=master)

Base9 is an educational language runtime and programming language! We’re using it to show people how to use
[Eclipse OMR] to build their own language runtime with a Just in Time (JIT) Compiler! The Base9 language, b9porcelain, is a simple subset of JavaScript.

[Eclipse OMR]: https://github.com/eclipse/omr

## Requirements

To get started with Base9, you'll need:

`git, build-essential, nodejs, npm, esprima, cmake, ninja` 

For detailed instructions on setting up Base9, check out our [set-up page](./docs/SetupBase9.md).


## Clone the repository and get the submodules

```
git clone --recursive https://github.com/b9org/b9.git
cd Base9
git submodule update --init
```

## Build Base9

```
mkdir build && cd build
cmake –GNinja –DCMAKE_BUILD_TYPE=Debug ..
ninja
```

## Run Hello World!

Ensure you're in the build directory and run:

`./b9run/b9run ./test/hello.b9mod`

## Test Base9

You can run the full Base9 test suite with:

`ninja test`

## Build your own Language Runtime

If you'd like to build your own language runtime, you can follow our [Developer Journey] to see the steps we took in building Base9.

[Developer Journey]: ./docs/DeveloperJourney.md
<commit_msg>Fix wrong dash character in cmake command<commit_after># Welcome to Base9!

[![Build Status](https://api.travis-ci.org/b9org/b9.svg?branch=master)](https://travis-ci.org/b9org/b9)
[![Coverage Status](https://coveralls.io/repos/github/b9org/b9/badge.svg?branch=master)](https://coveralls.io/github/b9org/b9?branch=master)

Base9 is an educational language runtime and programming language! We’re using it to show people how to use
[Eclipse OMR] to build their own language runtime with a Just in Time (JIT) Compiler! The Base9 language, b9porcelain, is a simple subset of JavaScript.

[Eclipse OMR]: https://github.com/eclipse/omr

## Requirements

To get started with Base9, you'll need:

`git, build-essential, nodejs, npm, esprima, cmake, ninja` 

For detailed instructions on setting up Base9, check out our [set-up page](./docs/SetupBase9.md).


## Clone the repository and get the submodules

```
git clone --recursive https://github.com/b9org/b9.git
cd Base9
git submodule update --init
```

## Build Base9

```
mkdir build && cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..
ninja
```

## Run Hello World!

Ensure you're in the build directory and run:

`./b9run/b9run ./test/hello.b9mod`

## Test Base9

You can run the full Base9 test suite with:

`ninja test`

## Build your own Language Runtime

If you'd like to build your own language runtime, you can follow our [Developer Journey] to see the steps we took in building Base9.

[Developer Journey]: ./docs/DeveloperJourney.md

{'fraction_non_alphanumeric': 0.11712931618144888, 'fraction_numerical': 0.016926201760324982, 'mean_word_length': 4.4621072088724585, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6042434', 'n_tokens_mistral': 1022, 'n_tokens_neox': 967, 'n_words': 338}