Skip to content

spawnlang/playground

Repository files navigation

Spawn Playground: Run, Edit, Share Spawn Code Online

The Spawn Playground is a place where you can run, edit and share Spawn code online.

Features

  • Nice and clean UI
  • Powerful editor with syntax highlighting and auto-completion
  • Ability to run code as tests
  • Ability to see generated C code for passed Spawn code
  • Pass flags to Spawn compiler and binary
  • Shareable code and editor state via URL or local storage

Developing

First, clone the repository:

git clone https://github.com/spawnlang/playground
cd playground

Install Spawn dependencies:

npm run install-server-deps

Quick, containerized local development (recommended)

Using Docker Compose

npm run run-docker

then access the playground at http://localhost:5555

Run the playground locally

npm run local-serve

then access the playground at http://localhost:5555

Server API

See server/README.md for more information about the server API.

License

This project is under the MIT License. See the LICENSE file for the full license text.

About

The official Spawn online playground

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •