Hacker News new | past | comments | ask | show | jobs | submit login

Somewhat tangential, but if you want to use Lisp with JS or Lua, you can use Lumen: https://github.com/sctb/lumen

I only mention it because it pretty much runs everywhere, and macOS already has a few JS and Lua-based extension mechanisms.




Shawn, Is your Lumen system compatible with COMMON-LISP (Lisp-2), or Scheme (Lisp-1) ? If Lumen is a Lisp-1 then it does not allow the same name to be used for a function and a variable simultaneously. If Lumen is a Lisp-2 then functions and variables are in separate namespaces.

Perhaps someone knows if there a library of code that you can load to make all the common-lisp functions available to you? Would that make your system a common lisp?

Is there an equivalent library you can load to make Lumen a Scheme at some compatibility level?

Thanks for your info and sharing your work.


The cool thing about Lumen is that it’s literally JavaScript: every lumen expression compiles into equivalent JS (or Lua). There aren’t any special calling conventions.

I would say Lumen is quite close to Scheme out of the box, but without syntax transformers. It wouldn't be hard to implement the missing parts of Scheme.

If you want to collaborate on some of this, shoot me an email. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: