An open API service indexing awesome lists of open source software.

https://github.com/zac-garby/radon-play

An online playground for my language, Radon.
https://github.com/zac-garby/radon-play

playground radon

Last synced: 3 months ago
JSON representation

An online playground for my language, Radon.

Awesome Lists containing this project

README

        

# Radon Playground

![](exec.png)

An online code-runner for the Radon language. Currently, it supports the
execution of arbitrary Radon code, however there are certainly areas for
improvement:

- Timeout, maybe of about 5 minutes
- Would involve adding some kind of interrupt system to the Radon
virtual machine.
- A job queue
- Queues a number of jobs, maybe up to 32?, and won't execute more than
that amount simultaneously. To reduce load on the server.
- Permalinks
- Syntax highlighting
- Some example programs

## Parsing and compiling

As well as executing the program, you can tell it to just parse or compile
it. This is done using the URL parameter, `?job=`. `` can be either
`ast`, `bytecode`, or `exec`. (Technically, anything which isn't `ast` or
`bytecode` is interpreted as `exec`.)

![](ast.png)
![](bytecode.png)