3 ms·
A similar endeavor in Python: http://www.brool.com/index.php/the-tiniest-lisp-in-python http://www.brool.com/index.php/the-tiniest-lisp-in-python I find it qui
by lloeki 15y ago
A similar endeavor in Python: http://www.brool.com/index.php/the-tiniest-lisp-in-python http://www.brool.com/index.php/the-tiniest-lisp-in-python
I find it quite entertaining to see how specific language features allow for differing patterns. It is much more apparent with such Lisp implementations than with your typical Hello, World app or hidden by some library or framework.
- pangram 15y agoI got a lot of interesting comments from that article. Someone pointed me to this brilliantly evil implementation which can be seen at https://gist.github.com/1679908 https://gist.github.com/1679908 (originally from http://www.pick.ucam.org/~ptc24/yvfc.html http://www.pick.ucam.org/~ptc24/yvfc.html, which seems to be down). There's also Norvig's implementation, which is much cleaner, at http://norvig.com/lispy.html http://norvig.com/lispy.html, and a Lisp to Python compiler at http://bernhardkausler.wordpress.com/2009/11/28/sinc-%e2%80%94-the-tiniest-lisp-compiler-to-python/ http://bernhardkausler.wordpress.com/2009/11/28/sinc-%e2%80%....