this post was submitted on 12 Nov 2023
1 points (100.0% liked)

Lisp

53 readers
3 users here now

founded 1 year ago
MODERATORS
 

There are many Lisp languages like Common Lisp, Scheme, Clojure, etc., and they're quite different to each other. For examples, one needs main as the entry point, another has while loops, some use t and nil while others use #t and #f, one has its codes starting with #lang, and so on. My question is, which language in the Lisp family is the most similar to the original LISP, be it in syntax, features, or appearances?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] death@alien.top 1 points 1 year ago (1 children)

One simple approach is to use a similarity measure, such as Jaccard index. We can specify attributes that might be relevant to a language being a Lisp, e.g. does it have conses, does it use parenthesized syntax, what kind of macro facility it might have (if any), etc. Then we can come up with a list of languages, each represented by a set of attribute values, and compute the Jaccard indices between them. Example from input.

[โ€“] Wyzelle@alien.top 1 points 1 year ago

My bruhh still uses his Reddit account that he made in 2006 and just 5 days ago he made a comment how must it feel to be one of the original usernames that have a word as a username, honorable mentions u/fuck, u/shit, u/Jesus and you're one of them, nice accomplishment.