Show HN: I LLM-coded a 10kb version of my favorite ClojureScript React wrapper
chr15m.github.ioI used an LLM-driven process:
1. Find valid Reagent forms that don't work. 2. Create an isolated failing test case. 3. Coach the LLM through fixing it.
Eucalypt is the result: a Reagent-compatible-ish library that produces ~10kb single-HTML-file builds. It supports r/atom, r/render, and form-1/form-2 components.
If you want to try it yourself:
npm create eucalypt myapp cd myapp npm install npm run watch
This has been super fun to work on. It feels like magic being able to use a LISP to compile a self-contained web app in a tiny single HTML file artifact. I hope you find it useful. I'm still hacking on this and PRs are most welcome!