I thought this is not possible in python. Can someone explain ? Python doesn't have tail call optimization and hy produces python AST. Am I missing something ?
I tried reading through the source, but I am still a lisp noob. https://github.com/hylang/hy/blob/master/hy/contrib/loop.hy
Same solution clojure has, as the JVM dosn't allow for TCO.
I thought this is not possible in python. Can someone explain ? Python doesn't have tail call optimization and hy produces python AST. Am I missing something ?
I tried reading through the source, but I am still a lisp noob. https://github.com/hylang/hy/blob/master/hy/contrib/loop.hy