freenode/#lisp - IRC Chatlog
Search
14:52:38
adlai
nabataeus: there is still a teeny tiny market for the actual machines themselves, and their peripherals and replacement parts
19:26:30
aeth
"Closos: Specification of a Lisp operating system (2013) [pdf]" https://news.ycombinator.com/item?id=23730107
19:30:25
anlsh
I need an automatic documentation generator that doesn't produce output that belongs in the 80s, what are my options? Codex fits the bill, but I have some problems with its markup language Scriba
19:31:10
anlsh
Coo and Staple are broken out of the box for me, Coo just doesn't do anything and Staple only produces empty pages
19:33:43
anlsh
cldomain seems promising since it would let me leverage Python's sphinx, which people actually use, but for the life of me I can't figure out how to use it
20:01:19
anlsh
phoe: In fact it doesn't look like it is. For some reason, when I was trying to use it earlier it was simply generating empty pages without any of the symbols or docstrings in my package. After restarting my lisp image, the issue seems to have gone away
20:01:54
phoe
anlsh: I think staple needs to be loaded before your stuff is loaded because that's how it recognizes what *new* stuff has been introduced since it was loaded
20:03:22
anlsh
Well the README states that "For best immediate results you should not load your system before you load Staple, so that Staple can record the packages the system defines as it is being loaded", but it looks like "best immediate results" should be replaced with "any results at all"
22:49:39
jcowan
I would like some help figuring out what a "structure-object introspector" for programmatic use should give access to.
22:55:43
phoe
since a structure-class is a standard object, I guess you can view all of its slots as if you viewed any other standard object
22:56:43
phoe
the question is if the MOP says anything about the slots available in CLASS objects, not just STANDARD-CLASS objects
22:57:24
phoe
...not really, http://metamodular.com/CLOS-MOP/class-class.html says nothing in particular
22:57:45
phoe
so we can't really portably infer anything about the contents of STRUCTURE-CLASS objects by looking at CLASS objects
22:58:36
Bike
what you should be looking at is whether class-slots as a method on structure-class (it doesn't). mop doesn't define any standard class's slots
22:59:55
Bike
that said, implementations generally have one as an extension, or have class hierarchy changes for it
23:02:06
grewal
Is "Common Lisp in the Wild: Deploying Common Lisp Apps with Confidence" by Wimpie Nortje worth buying?
23:53:33
ealfonso
is there a webdav client? I only know of cl-webdav, which is a server, and cadaver which is CLI
0:20:25
jcowan
But my question is not "What facilities do existing CLs actually provide?" but "What facilities should such a library provide?" The first can be settled by investigation, the second only by design.
0:21:39
jcowan
The maximalist version would be something that given a structure-object would return its structure-class, and then functions or methods that given a structure-class would return the de re values of the keyword arguments to defstruct (that is, the actual functions etc., not their names).
0:22:29
jcowan
That would be sufficient, given a structure-class, to construct another structure-class just like it (using eval); if you don't want to use eval, there would also need to be a function that is the equivalent of defstruct.
0:24:01
jcowan
The first requirement is met by class-of, at least I hope it is. But is it actually necessary in practice to find out *all* those things about a given structure-object in order to usefully manipulate it without knowing the names of the copier, constructor, predicate, etc. etc.?
0:26:28
Bike
if i was designing from scratch i would drop the defstruct interface because it sucks, and instead have a new metaclass/whatever that indicates no redefinition is possible but still defines through defclass
0:40:52
jcowan
I see there is a QL library called deftclass that allows you to create a class as if it were a struct: that is, with minimum mental (and typing) overhead. I haven't explored it closely yet.
1:45:09
aeth
Bike: no need for that to be a from-scratch design since you could just deprecate DEFSTRUCT and have it simply be sugar for creating the metaclass (as well as the handful of other things it creates, like COPY-FOO and MAKE-FOO)
1:45:56
aeth
(well... to be deprecated in a future revision, which is even more meaningless than being deprecated)
1:52:37
aeth
A standard implementation of DEFSTRUCT on top of DEFCLASS could be an interesting CDR, if people still do that.
2:08:30
coltkirk
hello, i'm tying to use the maiden package to make an irc bot (in another room). https://pastebin.com/vSbm6vrJ there's the paste. I'm using slime/sbcl.
2:09:53
coltkirk
yes, I type the code in exactly as the official documentation states, but get several errors. The connection attempts but fails in a loop