Hacker News new | ask | show | jobs
by sedachv 5528 days ago
Yes, but you'd also need to fake dynamic scoping. Check out Red Daly's implementation of the CL condition system for JavaScript/Parenscript, it's only about 200 lines of code:

https://github.com/gonzojive/paren-psos/commit/6578ad223515d...