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

Lisp

52 readers
3 users here now

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] green_tory@alien.top 1 points 10 months ago (5 children)

Janet.

It's not a lisp or lisp dialect because it is not built around lists. It doesn't even have cons cells.

[–] scheurneus@alien.top 1 points 10 months ago (4 children)

I don't know that much about Lisp, but I don't understand this obsession with cons cells and (linked) lists. A cons cell is nothing more than a 2-tuple, which is equivalent to a 2-element array (and Janet has arrays!).

From a programmer's perspective the difference between an array and a list is also, I would say, very minor. So why is using linked lists instead of arrays a critical part of a Lisp?

[–] daybreak-gibby@alien.top 1 points 10 months ago

I am pretty late to the Lisp world myself, but this cons obsession doesn't make any sense to me either. I think it is useless gatekeeping.

My personal definition is if someone saw it would they call it a Lisp? Janet is definitely closer to a Lisp, than an ML or C-styled language. Therefore, it is a lisp.

load more comments (3 replies)
load more comments (3 replies)