Is it possible to use Rescript in a Jupyter notebook or something similar?

I would like to know if there are any VSCode extensions to use Rescript or JS in a notebook

I’m not aware of something for ReScript, probably the closest thing is https://sketch.sh/ but only for Reason and OCaml. It’s open-source and under the umbrella of the company I work (ahrefs) and there shouldn’t be any big reason to not support ReScript at some point.

Repo: https://github.com/Sketch-sh/sketch-sh

3 Likes

very cool, thanks
is it possible to use it locally? in case I need to play with data that contains information that I don’t want it to be public

Probably doable to run it locally, not straightforward, but the only way to have actual private snippets.

1 Like