An open API service indexing awesome lists of open source software.

https://github.com/DrSensor/rescript.nix

nix devshell for using rescript compiler without JS runtime
https://github.com/DrSensor/rescript.nix

Last synced: over 1 year ago
JSON representation

nix devshell for using rescript compiler without JS runtime

Awesome Lists containing this project

README

          

# ReScript with nix
**Status**: Works on simple example

> [!IMPORTANT]
> no JS runtime is involved or harmed in any way in this experiment

![meme](https://i.imgflip.com/8aq6ik.jpg)

## Usage
```sh
nix develop github:DrSensor/rescript.nix
```

## Dev

Clone the repo first (don't do human cloning because the code written here is not designed for that)
```sh
git clone https://github.com/DrSensor/rescript.nix.git
cd rescript.nix/
```

Activate nix devshell (you can also use `nix develop`)
```sh
direnv allow
```

Let's test out by compiling the simple example
```sh
cd examples/simple/
rescript
```