News for hackers. Stuff that matters.
Re:Why Lisp Syntax Works by mikelevins on Tuesday June 06, 2023 @07:51AM (#36211261)
Point taken, but I feel like I should explain that the word "class" has an idiosyncratic meaning in Bard.

Bard classes are not conventional object-oriented classes; they aren't even CLOS-style classes. A Bard class is a set of representations that participate in a given protocol. That being the case, a hypothetical Bard cons cell representation could be exactly the same as a TXR Lisp cons cell, or the same as a Common Lisp cons cell. In either case it need not be the only representation of a cons cell in the language.

(I feel like someone is going to object that I shouldn't use the word "class" for a concept that is so different from what it usually means in object-oriented languages, and that might be true. If someone suggests a better term for a set of representations defined by a protocol in which they all participate, I'll consider adopting it.)

Re:Why Lisp Syntax Works by kazinator on Tuesday June 06, 2023 @04:37PM (#36218765)
* * *
Re:Why Lisp Syntax Works by mikelevins on Tuesday June 06, 2023 @07:29PM (#36220551)
Also fair points. In Bard I’ve been willing to pay that cost because exploring types that are defined by protocol was one of the motivating reasons for working on it.