libera/#commonlisp - IRC Chatlog
Search
10:03:19
beach
Guest-liao: There is just too much stuff in what you are saying for me to deal with right now. Maybe others can answer. I need a lunch break myself.
10:05:59
Guest-liao
Basic idea is that centralize the meta information in Common Lisp, and rich s-expression for both of Common lisp and scheme.
10:25:58
Guest-liao
Basic idea is that centralize the meta information of Common Lisp, and rich s-expression for both of Common lisp and scheme.
10:34:25
Guest-liao
Like (def (sig (procedure "(toplevel-command SYMBOL PROC [HELPSTRING])" (id toplevel-command)))
10:34:25
Guest-liao
(p "Defines or redefines a toplevel interpreter command which can be invoked by entering " (tt ",SYMBOL") ". " (tt "PROC") " will be invoked when the command is entered and may read any required argument via " (tt "read") " (or " (tt "read-line") "). If the optional argument " (tt "HELPSTRING") " is given, it will be listed by the " (tt ",?") "
11:03:15
trevlif
What is DEFTYPE used for? Is it just something that defclass uses or is it used elsewhere also?
11:11:23
trevlif
Seems like one can implement CLOS using types? Is that a fair comment? For example, instead of using generic functions, have a typecase within a defun
11:22:06
frgo
JeromeLon: I just checked myself. Expiry date shows as 2022-10-09T15:20:41Z. So it will expire next year.
11:24:38
edgar-rft
Xach is logged in but might be still asleep (in the USA it's early in the morning).
11:24:46
JeromeLon
frgo: you are right, it was updated a few hours ago. It looks like some whois mirrors are not up to date yet
15:47:42
gin
what does that mean? my projects relying on quicklisp would fail if I were to redo its setup?
15:52:58
frgo
gin: Well, yes. As quicklisp.org can't be resolved to an IP address the quickload of any package that's not already downloaded would fail - that's what I experience here.
15:54:55
gin
that's too bad. I will make sure I don't re-create my project setups until quicklisp.org comes back up
20:09:21
Arcsech
Just discovered https://github.com/marcoheisig/the-cost-of-nothing and spent a few minutes running the standard suite across (sbcl/ccl/abcl/ecl/clisp)
20:09:59
Arcsech
Sample:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/94b3ea570a9b93202b7564de62678c44cfad3dd3)
20:16:25
Arcsech
The order goes very roughly from slow to fast: clisp, ecl, abcl, ccl, sbcl, with ccl and sbcl being much faster than any of the others (for this super limited benchmark). Might do a bit more exploration along these lines.
21:57:32
Spawns_Carpeting
can the first element of a lisp expr be anything other than an atom in a valid program?
21:59:12
hayley
There wouldn't be a parent node, because there isn't a parent of this program fragment.
21:59:34
hayley
This code designates a call to the function (lambda (x) x) with the single argument 1.
22:00:47
Spawns_Carpeting
that's what I thought too dre, but I don't know how you could walk that tree to generate bytecode instructions
22:01:21
Spawns_Carpeting
a more convention style AST where each operator is a node, and its children are the parameters makes it easier to do that
22:01:55
hayley
Can't say more without knowing your bytecode, but in e.g. the Netfarm VM we would write (BYTE 1) (BYTE 2) (GET-PROC <code for LAMBDA function>) (CALL 2)