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.
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
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.