Skip to content

pgmtx/jule-playground

Repository files navigation

Jule Playground

An online sandbox to quickly test Jule code.

Limitations

  • The playground supports up to two concurrent compilations.
  • Code relying on stdin is not supported due to sandboxing constraints.

Setup

You will need Docker, a Go compiler (version >= 1.25.5), and Bun.

Install the JavaScript dependencies (including CodeMirror), using bun install.

Clang and julec are isolated inside the Dockerfile, which can be built this way:

docker build -t jule-clang .

Locally

Type go run . then open 0.0.0.0:8080/playground in your browser.

Each time you edit public/playground.js, you have to execute bun run build to generate the bundle script.

On a server

You need to have Docker installed on the server.

There is a script to easily deploy the project files. Before running it check out the paths and make sure to have a .env file containing SERVER_IP="your_server_ip".

About

An online sandbox to quickly test Jule code.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages