3 ms·
Maybe you will like Hy. It's a Python import hook that allows you to load files with a syntax similar to Clojure into Python. It also has an interpreter, so it
by rhaps0dy 11y ago
Maybe you will like Hy. It's a Python import hook that allows you to load files with a syntax similar to Clojure into Python. It also has an interpreter, so it can work as a standalone language or just dropped in Python projects. And it's not just the syntax, you can of course use Lisp macros!
https://github.com/hylang/hy https://github.com/hylang/hy
- asgard1024 11y agoHeard about it recently, haven't used it, but certainly is an interesting project!
- rhaps0dy 11y agoI used it in a Django project for specifying the urls, to have an easier time parsing them to build client-side validators. I'm sure there are better solutions to that though, and I never got around to actually generating the validators.