Skip to content

Interactive Playground

Experiment with Branchline directly in your browser—no installs required. The layout below is full-width to give editors more room. Pick an example, edit the program and input, enable tracing, and run.

Tips: Cmd/Ctrl + Enter runs. Switch JSON/XML input. Toggle tracing for EXPLAIN(...). Changing examples resets the editors.
Open in new tab Use ?example=<id> in the URL to preload an example (e.g., ?example=stdlib-hof-overview).

Curated examples (all preserved)

Troubleshooting

  • If the embed does not appear, open the new-tab link above.
  • XML inputs are parsed into objects; attributes use the @attr convention and text nodes use #text.
  • The playground runs entirely in your browser using the Kotlin/JS interpreter; no data leaves your machine.