2 ms·
For those interested in such things, there is also a Scheme-like Lisp that compiles to Python, called Hy (https://hylang.org https://hylang.org). It can be sur
by nerdponx 6y ago
For those interested in such things, there is also a Scheme-like Lisp that compiles to Python, called Hy (https://hylang.org https://hylang.org).
It can be surprisingly fun and convenient to have the full macro power of Lisp layered on top of these dynamic languages.
- Fishysoup 6y agoHy got my attention a while ago but I haven't played with it yet. Would you find yourself turning back to Python due to missing/annoying features? And is there an easy way to turn your code into a Python script so your co-workers can read it? :D
- vindarel 6y agoor do the reverse, call Python from Lisp: https://github.com/bendudson/py4cl https://github.com/bendudson/py4cl or call Lisp from Python: https://github.com/marcoheisig/cl4py https://github.com/marcoheisig/cl4py (or if it's because of Numpy, see NumCL https://numcl.github.io/numcl/ https://numcl.github.io/numcl/) in my taste Hy lacks a good lot of Lisp advantages… no closures with "let" by default, no image-based development and the excellent Lisp REPL, no Lisp's interactivity (in Hy or Python a process must restart after a code change, whereas in Lisp you compile one function with a keystroke and voilà, it's here to test), no Lisp's efficiency, no Lisp object system, etc. https://lisp-journey.gitlab.io/pythonvslisp/ https://lisp-journey.gitlab.io/pythonvslisp/