Skip to content

Repository files navigation

web-sw-cor24-macrolisp

Web UI for sw-cor24-macrolisp on COR24. Browser-based Lisp REPL running on the COR24 emulator via Rust, Yew, and WebAssembly.

Write Lisp expressions, select a prelude tier, and evaluate — all in the browser.

Live Demo

Part of the Software Wrighter COR24 Tools Project.

web-sw-cor24-macrolisp screenshot

Features

  • 5 prelude tiers: Bare, Minimal, Standard, Full, Scheme
  • 35 embedded demos: TCO, macros, lazy sequences, error handling, anaphoric macros, bottles of beer, LED blink, infix/fuzzy/percent-tolerance DSLs, reduce patterns, tail-recursive power, glyph-notation power DSL, and more — grouped by prelude in the dropdown
  • Dual view modes: CLI (Enter to eval, interleaved output) and Split (semi-transparent overlay for multi-line code)
  • Configurable stack: 3 KB (hardware default) or 8 KB (full EBR)
  • Floating hardware panel: LED D2, Switch S2 (clickable), with live memory gauges for heap, symbols, string pool, and stack (green/yellow/red)
  • Pause/Resume/Reset/Clear controls, plus Load File / Save / Copy for moving editor contents to and from .l24 files and the clipboard
  • COR24 emulator: Full 24-bit RISC CPU running in WebAssembly with instant UART TX

Provenance

Forked from sw-vibe-coding/web-tml24c as part of the COR24 ecosystem consolidation under sw-embed.

Related

Development

./scripts/serve.sh              # dev server with hot reload on port 9135
./scripts/build-all.sh          # recompile macrolisp + build pages/ for GitHub Pages
./scripts/build-pages.sh        # release build to pages/ for GitHub Pages
cargo clippy -- -D warnings     # lint
cargo fmt --all                 # format

Links

Copyright

Copyright (c) 2026 Michael A. Wright

License

MIT

About

Browser-based Tiny Macro Lisp REPL on COR24

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages