<commit_before>---
id: usage
title: Usage
---

When `reason-react-native`, `reason-react` and `bs-platform` are installed, you
can run the following command

```console
yarn bsb -make-world
```

⚠️ _If this process looks fast to you, don't be surprised, that's because
ReasonML & BuckleScript are fast!_

This command should compile all `.re` files to their `.bs.js` counterparts.

This means if you have an `src/App.re` file, you should now have `src/App.bs.js`
file too.

You may also notice some compilation artifacts:

- `.bsb.lock`
- `.merlin`
- `lib/bs`

You may want to gitignore all of theses:

```gitignore
*.bs.js
.bsb.lock
.merlin
lib/bs
```

_If you used our template, it should be done already_.

## Automate compilation of `*.re` files

You have multipes way to not have to think about compilation for your daily
workflow

## Compile ReasonML files via IDE
<commit_msg>Update usage.md<commit_after>---
id: usage
title: Usage
---

When `reason-react-native`, `reason-react` and `bs-platform` are installed, you
can run the following command

```console
yarn bsb -make-world
```

⚠️ _If this process looks fast to you, don't be surprised, that's because
ReasonML & BuckleScript are fast!_

This command should compile all `.re` files to their `.bs.js` counterparts.

This means if you have an `src/App.re` file, you should now have `src/App.bs.js`
file too.

You may also notice some compilation artifacts:

- `.bsb.lock`
- `.merlin`
- `lib/bs`

You may want to gitignore all of theses:

```
*.bs.js
.bsb.lock
.merlin
lib/bs
```

_If you used our template, it should be done already_.

## Automate compilation of `*.re` files

You have multipes way to not have to think about compilation for your daily
workflow

## Compile ReasonML files via IDE

{'fraction_non_alphanumeric': 0.10972143263217737, 'fraction_numerical': 0.0, 'mean_word_length': 3.795640326975477, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3999816', 'n_tokens_mistral': 590, 'n_tokens_neox': 575, 'n_words': 246}