Show HN: Using Common Lisp from Inside the Browser
3 days ago
- #lisp
- #webassembly
- #web-development
- Web Embeddable Common Lisp (WECL) enables Common Lisp to run in web browsers.
- WECL allows scripting websites with Common Lisp via script tags with type 'text/common-lisp'.
- The project includes a JS-FFI for low-level interaction between Common Lisp and JavaScript.
- LIME/SLUG provides Emacs integration, allowing interaction with WECL via a websocket connection.
- WECL can inject a Common Lisp runtime into arbitrary websites, enabling REPL access.
- Current limitations include lack of threading support and performance issues due to unoptimized bytecode.
- Future plans include porting to WASI for better threading and GC support.
- The project is funded by NGI0 Commons Fund, supported by the European Commission.