daelin

joined 10 months ago
[–] daelin@alien.top 1 points 10 months ago

Definitely JavaScript, but I think there is a really strong argument for Python.

There is a language called Hy, which is a Clojure-like LISP that runs on the Python runtime, fully interoperable with Python code in the same runtime. That is, you can freely import between Hy and Python code. Hy also has macros. IIRC they just use the Python standard library for all of this.

Python actually has really powerful metaprogramming features, especially today. They’re just not homoiconic without Hy.

Where Python—CPython at least—falls short is that you can’t REALLY do something like replace the exception handling system. It’s not turtles all the way down. But the runtime is surprisingly close in for most use cases.