4 ms·
This article is an English translation of http://www.oki-osk.jp/esc/dart/lisp.html http://www.oki-osk.jp/esc/dart/lisp.html which was introduced at https://news
by suzuki 11y ago
This article is an English translation of http://www.oki-osk.jp/esc/dart/lisp.html http://www.oki-osk.jp/esc/dart/lisp.html which was introduced at https://news.ycombinator.com/item?id=9433114 https://news.ycombinator.com/item?id=9433114 as "Lisp in 1,200 lines of Dart."
$ curl -R -O http://www.oki-osk.jp/esc/dart/lisp/lisp-27-05-08.tar.bz2
$ tar xf lisp-27-05-08.tar.bz2
$ cd lisp-27-05-08
$ dart lisp.dart
> (dump)
(dotimes dolist while nconc last nreverse _nreverse assoc assq member memq listp
or mapcar and append _append letrec let when if equal /= <= >= > setcdr setcar
null = identity print consp not cdddr cddar cdadr cdaar caddr cadar caadr caaar
cddr cdar cadr caar defun defmacro *version* dump exit apply symbol-name intern
make-symbol gensym *gensym-counter* terpri princ prin1 truncate / - * + mod % <
eql numberp stringp length rplacd rplaca list eq atom cons cdr car)
>
- isoos 11y agoSounds an interesting project, I definitely will give it a try. I've just checked your other article: https://news.ycombinator.com/item?id=9670062 https://news.ycombinator.com/item?id=9670062 Is there a benchmark suite that could compare various Lisp implementations? Would be interesting to see their overall comparison...
- suzuki 11y agoZick Standard Lisp (https://github.com/zick/ZickStandardLisp https://github.com/zick/ZickStandardLisp) by "Zick" serves as a handy benchmark generator. The second round benchmark and the final round benchmark used in http://www.oki-osk.jp/esc/dart/lisp-en.html#6 http://www.oki-osk.jp/esc/dart/lisp-en.html#6 were generated from it.
- Immortalin 11y agoAre you the writer of the article?