An online sandbox to quickly test Jule code.
- The playground supports up to two concurrent compilations.
- Code relying on stdin is not supported due to sandboxing constraints.
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 .
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.
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".