7 ms·
Hy
- mroll 10y agoThis looks great. The compactness reminds me of Arc, with the bonus of having all of python's libs.
- nathancahill 10y agoI love Hy. I played around with it 3 years ago. Development has been super active since then: https://github.com/hylang/hy https://github.com/hylang/hy Don't know if it's still the case, but the Hy project had the most puns I've seen in one repo. In a good way. Here are two previous discussions: https://news.ycombinator.com/item?id=8696975 https://news.ycombinator.com/item?id=8696975 https://news.ycombinator.com/item?id=7214400 https://news.ycombinator.com/item?id=7214400
- shakna 10y agoPros * Runs anywhere Python does * Uses Python's ecosystem * LISP consistency and functionality Cons * As slow as Python Conclusion: I love Hy. When I want a portable LISP, or get incredibly frustrated with Python's arbitary limitations (lambda), I use Hy. Unfortunately, never had it fit a large project, so I use it like scsh.
- kazinator 10y agoI do not agree that Hy has "LISP [sic] consistency and functionality". The code visually resembles Lisp but consists of ugly hackery under the hood. Straight from the doc: "In some Lisp variants, the cons cell is the fundamental building block, and S-expressions are actually represented as linked lists of cons cells. This is not the case in Hy, as the usual expressions are made of Python lists wrapped in a HyExpression. However, the HyCons mimics the behavior of “usual” Lisp variants thusly: * (cons something nil) is (HyExpression [something]) * (cons something some-list) is ((type some-list) (+ [something] some-list)) (if some-list inherits from list) [... etc]" Basically, yikes!
- pmiller2 10y agoPro: * Has cute mascot. I love Cuddles the Cuttlefish. :)