I've been bringing this up here and there, but here's a PR.
I believe it would be an aesthetic and useful change allowing inline documentation in our custom syntax for class definitions, like
(class-star:define-class foo ()
((slot-a
5 "Some number.")
(slot-b :unbound "Initially unbound slot.")))
This is going to cut some lines of code for short slots and make long slots slightly easier to follow when used to.
But, obviously, it causes quite some trouble for slot parsing, which is already quite complex.
If we agree that this is something we want, I'm ready to prototype this thing with all the caution left in me :P
I've been bringing this up here and there, but here's a PR.
I believe it would be an aesthetic and useful change allowing inline documentation in our custom syntax for class definitions, like
This is going to cut some lines of code for short slots and make long slots slightly easier to follow when used to.
But, obviously, it causes quite some trouble for slot parsing, which is already quite complex.
If we agree that this is something we want, I'm ready to prototype this thing with all the caution left in me :P