Skip to content

ROBOT-IS-CHILL/ric-js-runtime

Repository files navigation

Robot Is Chill JavaScript runtime

This is the repository for the upcoming JavaScript runtime for Robot Is Chill, based on deno_core.

How to try this out

In your web browser:

  1. Open this repository in Gitpod. This repository has a Gitpod config so everything will be set up for you automatically.
  2. Open try_it_out.ts and you're ready to go!

Locally:

  1. Install Deno.
  2. Install Cargo + Rust via Rustup.
  3. Clone this repository via Git.
  4. Run deno install in this repository's root directory
  5. Open try_it_out.ts in your editor of choice.
  6. Use deno run try to compile the runtime and use it to run try_it_out.ts.
  7. (Optional) Install cargo-watch using cargo install cargo-watch and run deno run watch-try to automatically run try_it_out.ts when changes are made.

VSCode Troubleshooting

  • Twoslash comments (// ^?, // =>) aren't working!
    • Install this extension.
    • They're mainly a TS playground feature, so support for them in VSCode requires an extension.