Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
hyperpolyglot.org
Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
1–10 of 48 posts
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#2Clojure 1.6, Emacs 24.5... These are pretty old versions, at least of those.
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#3Great chrestomathy! I opened a PR for my lisp, Loon: https://github.com/clarkgrubb/hyperpolyglot/pull/139
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#4Clojure 1.6, Emacs 24.5... These are pretty old versions, at least of those.
Most of the things in that table won’t change from version to version anyway.
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#5Would be interesting to see how Jank is coming along in this space as well.
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#6I know that the purpose of the page is to compare syntax of common lisp, racket, clojure, and emacs lisp.
But some examples could be more idiomatic, for instance instead of
(defun add (a &rest b)
(if (null b)
a
(+ a (eval (cons '+ b)))))
One should avoid eval and use endp instead of null: (defun add (a &rest b)
(if (endp b) a
(apply #'add (+ a (first b)) (rest b))))Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#7This is really neat.
Something I've been meaning to do is try putting together a cross-lisp package manager -- if only because it'd be fun. Maybe it would favor code that could be readily run or eval'd or maybe with some sort of clj/cljs type dynamic dispatch for anything implementation specific.
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#8The page indicates that there is not function for documentation in common lisp, but
(documentation 'documentation 'function)
"Return the documentation string of Doc-Type for X, or NIL if none
exists.
System doc-types are VARIABLE, FUNCTION, STRUCTURE, TYPE, SETF, and T.
Also http://rosettacode.org for computer tasks implemented in many computer languages to allow you compare syntax and code.Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#9Emacs has cl-lib
Re: Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
#10Nice comparison.
But makes me think we'd be better off if we all just focused on a single one, and grew it, made it better. Not having 4 versions of something almost identical. Fragmentation can hurt adoption.