Ty for the responses! It looks like wax (recommended by @technicat) seems to be closest to what I was looking for. It remains to be seen if the constrained environment would lead to usable code still. https://github.com/LingDong-/wax/blob/main/QUICKSTART.md
@mauve @technicat ooh, Haxe is back, in lisp form