3 ms·
I 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 f
by kazinator 10y ago
I 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!