An interactive playground for the experimental trace programming language, built with React and Vite.
🚀 Live site: https://bluehexagons.github.io/trace-sandbox/
- In-browser REPL — write and run trace scripts instantly, no install needed.
- Example programs — 11 examples covering arithmetic, variables, conditionals, loops, functions, arguments, echo/debug output, randomness, and more.
- Argument support — pass space-separated numbers to scripts that use
[...]parameter lists. - Echo output —
@…@log statements show up in a console panel below the result. - Keyboard shortcut — press Ctrl+Enter (or ⌘+Enter) to run the current script.
# Install dependencies
npm install
# Start dev server
npm run dev
# Run tests
npm test
# Build for production
npm run build| Workflow | Trigger | What it does |
|---|---|---|
CI (.github/workflows/ci.yml) |
Push/PR to main |
Lint, type-check, build, and test |
Deploy (.github/workflows/deploy.yml) |
Push to main |
Build and deploy to GitHub Pages |
To enable GitHub Pages for this repository, go to Settings → Pages and choose GitHub Actions as the source.
Trace — An esoteric, specialized, functional programming language.
github.com/bluehexagons/trace · MIT License
The trace interpreter is imported from the trace npm package (GitHub: bluehexagons/trace).
MIT — see LICENSE.