If Hy is the Python AST in Lisp form, couldn't that same concept be applied to any other language with an AST? #2611
Replies: 2 comments 2 replies
-
I've seen several projects that implement a sort of Lisp syntax for another programming language, as with Axel for Haskell, and lots of different ones for JavaScript. But I don't know how common it is to use the host language's AST objects as part of the translation. That's a pretty fiddly implementation detail. |
Beta Was this translation helpful? Give feedback.
-
Well that's an intresting idea - Clojure has a similar idea, but don't use the ast. It compiles to the jvm (default), javascript (clojurescript) and there were some other ideas to implement it on other platforms. What they are doing today, I don't know |
Beta Was this translation helpful? Give feedback.
-
Are there existing projects in that direction?
There's no way I'm the first one to think of this.
Beta Was this translation helpful? Give feedback.
All reactions