brettgilio has quit [Read error: Connection reset by peer]
sm2n has quit [Read error: Connection reset by peer]
srhm has quit [Read error: Connection reset by peer]
alethkit has quit [Read error: Connection reset by peer]
HerlockSholmes_ is now known as HerlockSholmes
HerlockSholmes has quit [Read error: Connection reset by peer]
Opus has quit [Remote host closed the connection]
mhcat_ is now known as mhcat
slondr has quit [Read error: Connection reset by peer]
slondr_ is now known as slondr
shunter has quit [Read error: Connection reset by peer]
\f_ is now known as \f
jasom_ is now known as jasom
sherbert has quit [Read error: Connection reset by peer]
jasom has quit [Read error: Connection reset by peer]
\f has quit [Read error: Connection reset by peer]
sherbert_ is now known as sherbert
shunter_ is now known as shunter
kurfen has joined #commonlisp
istewart_ has quit [Remote host closed the connection]
bheesham_ is now known as bheesham
istewart_ has joined #commonlisp
Opus has joined #commonlisp
artyn has quit [Read error: Connection reset by peer]
x4d6165 has quit [Read error: Connection reset by peer]
artyn_ is now known as artyn
x4d6165_ is now known as x4d6165
srhm_ is now known as srhm
alethkit_ is now known as alethkit
lucasta has joined #commonlisp
jon_atack has quit [Ping timeout: 268 seconds]
lspangler has quit [Ping timeout: 268 seconds]
luna-is-here has quit [Ping timeout: 268 seconds]
luna-is-here has joined #commonlisp
brettgilio_ is now known as brettgilio
brokkoli_origin has joined #commonlisp
markb1 has quit [Ping timeout: 268 seconds]
sm2n_ is now known as sm2n
brokkoli_origin has quit [Ping timeout: 268 seconds]
cinerion has joined #commonlisp
lucasta has quit [Remote host closed the connection]
brokkoli_origin has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #commonlisp
X-Scale has quit [Quit: Client closed]
josrr has quit [Remote host closed the connection]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
decweb has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 264 seconds]
vms14 has quit [Remote host closed the connection]
Pixel_Outlaw has quit [Quit: Leaving]
mwnaylor has quit [Ping timeout: 268 seconds]
<kanuba>
Hello all. I'm wondering if something strange I'd like to do could be done with the MOP.
<kanuba>
Currently, I have a mixin-like class that I define with the MOP, that allows me to specify the CPL manually by traversing a graph, such that some progn method-combination generic functions behave in the order I'd like.
<kanuba>
I am wondering if it is possible to elide the slot inheritance of all of the superclasses, leaving just the subclass's, and instead construct a different representation (a single object), to be referenced by a single slot of the subclass.
<kanuba>
That is, I'm primarily only interested in the traversal order (with progn combination) of the CPL, and not their slots. I will still use their slots/accessors, but through another level of indirection accessing just a single (new) slot of the subclass.
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
istewart_ has quit [Quit: Konversation terminated!]
robin_ is now known as robin
markb1 has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
<beach>
kanuba: Maybe you can specialize COMPUTE-SLOTS?
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
emaczen has quit [Ping timeout: 264 seconds]
donleo has joined #commonlisp
amb007 has joined #commonlisp
cmack` has joined #commonlisp
cmack has quit [Ping timeout: 264 seconds]
pve has joined #commonlisp
lewisje has quit [Read error: Connection reset by peer]
lewisje has joined #commonlisp
wacki has joined #commonlisp
shka has joined #commonlisp
markb1 has quit [Read error: Connection reset by peer]
younder has quit [Remote host closed the connection]
markb1 has joined #commonlisp
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
mgl_ has joined #commonlisp
mgl_ has quit [Ping timeout: 252 seconds]
jweeks has joined #commonlisp
jweeks has quit [Changing host]
jweeks has joined #commonlisp
triffid has quit [Ping timeout: 260 seconds]
triffid has joined #commonlisp
dino_tutter has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
markb1 has quit [Read error: Connection reset by peer]
markb1 has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
char has quit [Remote host closed the connection]
wbooze has quit [Remote host closed the connection]
<beach>
phoe: I extracted the portable debugger from your Portable Condition System to a separate repository named Clordecone. I know you gave me permission to do stuff like that, but I can't remember whether it was OK with you to use a BSD license or whether you prefer that I keep the Creative Commons License. I can go either way.
<beach>
Also, I haven't written the README yet, and I will of course give you credit as the author of the original code.
* beach
takes a lunch break and will read up when he comes back.
cage has joined #commonlisp
awlygj has joined #commonlisp
random-nick has joined #commonlisp
wacki has joined #commonlisp
younder has joined #commonlisp
duuqnd_ has joined #commonlisp
duuqnd has quit [Ping timeout: 264 seconds]
duuqnd_ is now known as duuqnd
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pranav has quit [Read error: Connection reset by peer]
<ixelp>
GitHub - robert-strandh/Clordecone: Portable "debugger" for Common Lisp, extracted from the Portable Condition System by [...]
<beach>
phoe: I also added a BSD License. If you want something else, let me know.
puke has joined #commonlisp
wacki has joined #commonlisp
<beach>
If someone wants to work on Clordecone, please let me know. For example, it would be nice to have a backtrace command. Now, apparently TRIVIAL-BACKTRACE is no longer maintained, but there might be some other similar library.
<beach>
Shinmera: Didn't you write a library like trivial-backtrace at some point?
<ixelp>
GitHub - Shinmera/dissect: Common Lisp introspection library for the call stack and restarts
<beach>
paulapatience: Ah, thank you. That must be it.
josrr has joined #commonlisp
mgl_ has joined #commonlisp
vms14 has quit [Ping timeout: 264 seconds]
hexa6 has quit [Ping timeout: 240 seconds]
hexa6 has joined #commonlisp
X-Scale has quit [Ping timeout: 250 seconds]
hexa6 has quit [Remote host closed the connection]
hexa6 has joined #commonlisp
mgl_ has quit [Ping timeout: 268 seconds]
mgl_ has joined #commonlisp
mgl_ has quit [Ping timeout: 268 seconds]
decweb has joined #commonlisp
emaczen has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
vms14 has joined #commonlisp
edgar-rft_ is now known as edgar-rft
mgl_ has joined #commonlisp
amb007 has quit [Ping timeout: 268 seconds]
amb007 has joined #commonlisp
shawnw has quit [Ping timeout: 264 seconds]
<Shinmera>
yeah. it needs a revision with some more features
<Shinmera>
but time~
<beach>
As usual, yes.
rainthree has joined #commonlisp
mgl_ has quit [Ping timeout: 264 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
NotThatRPG has joined #commonlisp
edgar-rft_ has joined #commonlisp
wacki has quit [Read error: Connection reset by peer]
edgar-rft has quit [Ping timeout: 264 seconds]
wacki has joined #commonlisp
shawnw has joined #commonlisp
awlygj has quit [Quit: leaving]
lucasta has joined #commonlisp
NotThatRPG has quit [Ping timeout: 268 seconds]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Ping timeout: 268 seconds]
FragmentedCurve has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
NotThatRPG has joined #commonlisp
random-nick has joined #commonlisp
Alfr has quit [Ping timeout: 240 seconds]
mgl_ has joined #commonlisp
haoms has joined #commonlisp
mgl_ has quit [Ping timeout: 252 seconds]
Alfr has joined #commonlisp
rainthree has quit [Read error: Connection reset by peer]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haoms has left #commonlisp [#commonlisp]
jrx has joined #commonlisp
ldb has joined #commonlisp
ldb has quit [Changing host]
ldb has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life has joined #commonlisp
shawnw has quit [Ping timeout: 268 seconds]
prokhor has quit [Remote host closed the connection]
jrx has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
yitzi has quit [Ping timeout: 256 seconds]
yitzi has joined #commonlisp
akoana has joined #commonlisp
mgl_ has joined #commonlisp
prokhor has joined #commonlisp
char has joined #commonlisp
edgar-rft_ is now known as edgar-rft
zagura has quit [Quit: Reconnecting]
zagura has joined #commonlisp
emaczen has quit [Remote host closed the connection]
lucasta has quit [Ping timeout: 268 seconds]
valorzard has joined #commonlisp
ldb has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
valorzard has quit [Changing host]
valorzard has joined #commonlisp
robin26 has joined #commonlisp
<robin26>
hi
robin26 is now known as hraban
mgl_ has quit [Ping timeout: 256 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 264 seconds]
random-nick has quit [Ping timeout: 264 seconds]
cage has quit [Quit: rcirc on GNU Emacs 29.4]
random-nick has joined #commonlisp
NotThatRPG has joined #commonlisp
hraban has quit [Quit: Client closed]
robin98 has joined #commonlisp
robin98 is now known as hraban
pranav has quit [Remote host closed the connection]
Pixel_Outlaw has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has joined #commonlisp
josrr has quit [Remote host closed the connection]
pranav has joined #commonlisp
mwnaylor has joined #commonlisp
yitzi has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
valorzard has quit [Quit: Client closed]
amb007 has quit [Ping timeout: 268 seconds]
attila_lendvai has quit [Ping timeout: 272 seconds]
<char>
How is it that integer is a class and also a compound type specifier?
jonatack has joined #commonlisp
<younder>
For historical reasons I think. The type system was in use before CLOS was specified. To avoid breaking backward compatibility the types came along for the ride.
istewart has joined #commonlisp
jon_atack has quit [Ping timeout: 264 seconds]
Gleefre has quit [Ping timeout: 250 seconds]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Gleefre has joined #commonlisp
<char>
younder: That makes sense, but how does it work. When I define a class, it creates a non-compound type specifier. If I then try to define a compound deftype, I run into all sorts of redefinition realted issues.
amb007 has joined #commonlisp
mgl_ has joined #commonlisp
<paulapatience>
I guess it's special-cased
reb`` has quit [Remote host closed the connection]
vms14 has quit [Read error: Connection reset by peer]
vms14_ has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
donleo has quit [Ping timeout: 268 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
<Gleefre>
beach: re ||:mumble (and yes, I'm at it again) I have stumbled upon two more similar issues with the reader, namely 5|| and ||. both are interpreted as a symbol (and not as a number or a consing dot)
<Gleefre>
,(values '5|| '||.)
<ixelp>
(values '5|| '||.) => |5|; |.|
<Gleefre>
The first one is explicitly mentioned in the spec, dunno about the second one -- I didn't find any mentions [but maybe just yet].
reb`` has quit [Remote host closed the connection]
reb`` has joined #commonlisp
<gilberth>
Yes, but then CCL is doing the right thing here, no?
<Gleefre>
So, given all that, I'm thinking that the "bug in the spec" is in the reader algorithm, and not in say the missing nickname for the keyword package; and that ||:mumble has only one "correct" meaning -- an external symbol in the package named or nicknamed "" (and ||::mumble should be an internal symbol in the package named or nicknamed "")
<Gleefre>
[P.S. and I did write almost all of that, except for my conclusion, in the WSCL "pre-issue" on github]
<Gleefre>
gilberth: dunno what you mean by the "right thing"? All implementations I could test on treat 5|| and ||. as symbols [except for JSCL which treats 5|| as a number, which is a bug, and I'm going to open an issue about that soon...]
mwnaylor has quit [Ping timeout: 246 seconds]
<gilberth>
Yes, and the spec says that those are symbols, no?
<Gleefre>
Yes about the number, dunno about the consing dot.
<Gleefre>
The problem is that the reader algorithm implies that those should mean the same thing as 5 and .
<gilberth>
It must be possible to input the symbol named ".".
<Gleefre>
Yes, as |.|, but not ||.
<gilberth>
The reader algorithm just says how properly tell the end of a token.
<gilberth>
The token still is ||.
<gilberth>
Me thinks one should look what is said about reading lists.
<Gleefre>
No, escape characters are not appended to the token
<Gleefre>
...at least as it is described in the reader algorithm
<Gleefre>
So 5|| ||. ||::mumble would be read as tokens 5 . ::MUMBLE
<gilberth>
But how could the routine to turn a token into an atom tell whether escape characters were present?
<Gleefre>
Exactly! This is a bug in the spec as I understand it.
<gilberth>
And you're missing the syntax of characters. Each character in your token still has a syntax. And it is made constituent when escaped with alphabetic trait.
<gilberth>
I don't see a problem with ||5 . There was an escape character seen.
<Gleefre>
No, in 5|| ||. and ||:mumble no characters are escaped, and thus they all retain their original traits.
<gilberth>
Where in the spec they say what a dot for a dotted list is?
<gilberth>
It says "any escape character" not "any escaped character".
<gilberth>
In 2.3.1.1.1
<gilberth>
"If a token consists solely of dots (with no escape characters), ..."
<gilberth>
Again it is "escape" not "escaped".
<gilberth>
So I see no problem here. Other that some token reader must not only return the string of characters and their syntax but also a flag indicating whether some escape was seen.
<Gleefre>
The wording indeed suggests that escape characters are part of the token, but the reader algorithm, which explicitely describes how tokens are being built, implies the opposite.
amb007 has quit [Remote host closed the connection]
<Gleefre>
This is why I think that the bug is in the reader algorithm, and that ||:mumble should be read as a symbol in the package named "". :)
amb007 has joined #commonlisp
<gilberth>
To me the token reader mainly says how to scan the contents of token. I see it as running parallel with any code trying to figure out if this looks like a number e.g.
<gilberth>
Who says that ||:mumble is something else?
<Gleefre>
Most implementations.
<gilberth>
,(read-from-string "||:mumble")
<ixelp>
ERROR: There is no package named "" .
<Gleefre>
,(lisp-implementation-type)
<ixelp>
=> "Clozure Common Lisp"
<gilberth>
Gleefre: What do you get for ||:mumble? A keyword?
<Gleefre>
Yep, on lots of other implementations. Let me find a paste...
<Gleefre>
A keyword is being read on all of these implementations: ECL, CLASP, CLISP, MKCL, Corman Lisp, LispWorks, JSCL
<Gleefre>
(Also ABCL just crashes :/)
<gilberth>
Then those are buggy.
<Gleefre>
Also an interesting behavior can be seen on Allegro CL. It defines a global nickname of "" for the "KEYWORD" package; so ||:mumble (and :mumble -- you can check that with PLNs) is read as a symbol in the package named or nicknamed by "", which is the "KEYWORD" package almost always.
<gilberth>
How creative.
<gilberth>
What happens with ACL when I have my own package and give it a local nickname of "". Do I get my own KEYWORD package?
Gleefre has quit [Remote host closed the connection]
<Gleefre>
_death: wow, some implementations fail to intern it? [ namely ECL, CLASP, even CLISP, MKCL ]
<Gleefre>
I'm pretty sure it's not standard compliant, is it?
<_death>
my gut says it's a bug (as well as ||:foo not referring to a symbol in package named "") but I've not looked at what clhs says; luckily my implementation of choice agrees with my gut
thuna` has quit [Ping timeout: 264 seconds]
lucasta has joined #commonlisp
<dbotton>
Is there an equivalent of ql:list-local-systems that would reflect what directories are configured for ASDF to look for systems?