3 ms·
(An ((Even Better) Lisp) Interpreter (in Python)) http://norvig.com/lispy2.html http://norvig.com/lispy2.html
by jdnier 7y ago
(An ((Even Better) Lisp) Interpreter (in Python))
http://norvig.com/lispy2.html http://norvig.com/lispy2.html
- d33 7y agoAnd an even better: https://github.com/hylang/hy https://github.com/hylang/hy
- reikonomusha 7y agoThis is not better at least in the traditional ways Lisp is evaluated by. The scoping rules inherit Python’s confusing and conflated notions of binding vs mutation.
- nudq 7y agoNot to take away from the side splitting hilariousness of this novel meme, but I just noticed Lisp is actually one of the few languages where you can't add spurious parentheses. If you find that a, (a), ((a)), etc are equivalent, it's probably not Lisp you're looking at.
- Smithalicious 7y agoUnless a is a function that returns itself
- owl57 7y agoIn Scheme or Clojure, but not in Common Lisp. Now, should we adopt this parentheses-exacticity as part of the definition what is a real Lisp? P.S. Of course, a Lisp-2 saves us only from an unlimited proliferation of parentheses, but a simple (defmacro foo () 'foo) will allow you to get a couple whenever really needed.