jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
jon_atack has joined #commonlisp
apac has joined #commonlisp
jonatack has quit [Ping timeout: 276 seconds]
fosskers has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
jonatack1 has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
jon_atack has joined #commonlisp
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
jonatack has quit [Ping timeout: 252 seconds]
jonatack1 has quit [Ping timeout: 245 seconds]
thuna` has quit [Ping timeout: 248 seconds]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 276 seconds]
kchanqvq has quit [Quit: Client closed]
kchanqvq has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 245 seconds]
kchanqvq has quit [Ping timeout: 252 seconds]
pabs3 has quit [Ping timeout: 248 seconds]
leeb_ has joined #commonlisp
pabs3 has joined #commonlisp
leeb has quit [Ping timeout: 248 seconds]
apac has quit [Quit: Konversation terminated!]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 272 seconds]
kchanqvq has joined #commonlisp
wohonajax has joined #commonlisp
eddof13 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
istewart has quit [Quit: Konversation terminated!]
istewart has joined #commonlisp
Noisytoot has quit [Ping timeout: 252 seconds]
semz has quit [Quit: ZNC 1.9.0+deb2build3 - https://znc.in]
semz has joined #commonlisp
shawnw has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
fosskers has quit [Remote host closed the connection]
admich1 has quit [Ping timeout: 276 seconds]
admich1 has joined #commonlisp
Lycurgus has joined #commonlisp
shawnw has quit [Ping timeout: 276 seconds]
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
wohonajax has quit [Quit: leaving]
shawnw has joined #commonlisp
fosskers has joined #commonlisp
johnjaye has quit [Read error: Connection reset by peer]
treflip has joined #commonlisp
veqq has quit [Ping timeout: 260 seconds]
veqq has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
decweb has joined #commonlisp
mange has joined #commonlisp
King_julian has quit [Ping timeout: 276 seconds]
mwnaylor has quit [Ping timeout: 260 seconds]
King_julian has joined #commonlisp
<beach> phantomics: Did you figure out your problem?
mwnaylor has joined #commonlisp
<phantomics> Not yet, I'm running into some really odd things
<beach> Hmm. I see.
<phantomics> This is a system where I have a macro that when instantiated defines a macro, other unusual stuff involved
anticomputer_ has quit [Remote host closed the connection]
<phantomics> I'm testing different options for parts of that flow
anticomputer has joined #commonlisp
<beach> Yeah, that can complicate things. But the package for each symbols is determined at read time, so nothing changes during macro expansion.
<beach> ... unless, of course, you call INTERN or something like that during macro expansion.
<phantomics> And I don't know what I did that caused things to actually work right when I asked you first, but now it's back to what it was doing before
fosskers has quit [Remote host closed the connection]
<beach> I see.
istewart has quit [Quit: Konversation terminated!]
wavedepletion has quit [Quit: Terminus Est]
decweb has quit [Quit: Konversation terminated!]
fosskers has joined #commonlisp
<phantomics> Here's something odd: https://dpaste.com/5G5K3NHYP
<ixelp> dpaste: 5G5K3NHYP
<phantomics> The top expression, when part of a macro that gets expanded, causes an out of memory error
<phantomics> If I replace it with the bottom in the same macro it works, but this branch macro is part of the pipeline with the symbol context problem
<bike> well the first one isn't valid. macro functions take just two arguments, the whole form and an environment
<bike> so maybe it causes some kind of error which goes recursive and then you get an out of memory somehow
<phantomics> It's fixed now
<beach> Yeah, you can't define a macro function that way.
<beach> The body of the macro function must destructure the form parameter.
treflip` has joined #commonlisp
treflip has quit [Ping timeout: 240 seconds]
treflip` has quit [Read error: Connection reset by peer]
treflip` has joined #commonlisp
edgar-rft has joined #commonlisp
edgar-rft` has quit [Ping timeout: 260 seconds]
cercopith has joined #commonlisp
kurfen has quit [Quit: ZNC - https://znc.in]
kurfen has joined #commonlisp
vidak has joined #commonlisp
mwnaylor has quit [Ping timeout: 276 seconds]
mwnaylor has joined #commonlisp
treflip`` has joined #commonlisp
treflip` has quit [Ping timeout: 276 seconds]
X-Scale has joined #commonlisp
varjag has joined #commonlisp
rgherdt has joined #commonlisp
rgherdt_ has joined #commonlisp
mwnaylor has quit [Ping timeout: 276 seconds]
mgl has joined #commonlisp
mwnaylor has joined #commonlisp
rgherdt has quit [Ping timeout: 252 seconds]
ingeniot has joined #commonlisp
treflip`` has quit [Remote host closed the connection]
treflip has joined #commonlisp
pve has joined #commonlisp
zxcvz has joined #commonlisp
treflip has quit [Ping timeout: 260 seconds]
lcn_ has joined #commonlisp
admich1 has quit [Ping timeout: 245 seconds]
ingeniot has quit [Ping timeout: 248 seconds]
zxcvz has quit [Quit: zxcvz]
treflip has joined #commonlisp
<phantomics> I figured out the macroexpansion, there's just one thing still amiss with it. In the file where I have the macro expanding that does that macro function assignment, following that macro I have uses of the (branch) macro that it assigns.
<phantomics> These macro invocations fail with "no such variable as branch" unless I move the macro that assigns (macro-function 'branch) into another file. It appears to be an issue with order of compilation, do I need to put the macro-function assignment inside of (eval-when (:compile-toplevel) ...) or something?
bpanthi977 has quit [Ping timeout: 252 seconds]
<nil> phantomics: Yes usually, if you're going to use it later in the same file or maybe even compilation unit
apac has joined #commonlisp
admich1 has joined #commonlisp
fosskers has quit [Remote host closed the connection]
veqq has quit [Quit: veqq]
admich1 has quit [Ping timeout: 252 seconds]
veqq has joined #commonlisp
kchanqvq has quit [Ping timeout: 252 seconds]
treflip has quit [Ping timeout: 252 seconds]
apac has quit [Ping timeout: 260 seconds]
<phantomics> Turns out I was able to work out some complications of the eval flow, but the actual problems are still there. Does anyone know why i.e. (gensym "FOO") would resolve to #:FOO0 each time I build this system?
<phantomics> I'm not sure why the gensym is always producing zero, does that mean it's the very first (gensym) running after starting the CL instance each time?
Noisytoot has joined #commonlisp
treflip has joined #commonlisp
fosskers has joined #commonlisp
apac has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
<beach> Probably.
X-Scale has quit [Ping timeout: 260 seconds]
<beach> When you start a new image, you always get the same value of *GENSYM-COUNTER* each time.
<beach> It is strange though that you don't load any code whatsoever that calls GENSYM.
<jackdaniel> I recall that SBCL does something peculiar with the counter, i.e it binds *gensym-counter* somewhere, so that it gets back to the prevous value when the dynamic scope is left
<jackdaniel> (and, if I remember correctly, that was conforming although confusing behavior)
<beach> Interesting.
<beach> Though, of course, the value of *GENSYM-COUNTER* matters only for human consumption. A new symbol is created no matter its value
X-Scale has joined #commonlisp
<jackdaniel> yes
<edgar-rft> *gensym-counter* reflects the number of gensyms we can count on
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #commonlisp
decweb has joined #commonlisp
<mesaoptimizer> is cl-quickcheck the only property-testing library that exists? It seems rather suboptimal in that I can't use it without doing an `in-package`, since the macros the package exports relies on `n-generator` being available instead of being accessible via `cl-quickcheck:n-generator`.
<Colleen> mesaoptimizer: bike said at 2025.08.04 21:25:35: like so, i believe
apac has quit [Ping timeout: 276 seconds]
<mesaoptimizer> https://github.com/mcandre/cl-quickcheck last commit was five years ago; maybe I'll need to fork and hack it up to being more usable
<ixelp> GitHub - mcandre/cl-quickcheck: cl-quickcheck - a Common Lisp port of the QuickCheck unit test framework
<mesaoptimizer> I like how the condition system asks if I want to replace the `n-generator` with something else, and I can just directly replace it with `cl-quickcheck:n-generator`. It feels so nice and strange compared to Python REPL programming, which is the only other REPL-first programming experience I have (Haskell doesn't count, I think).
yitzi has joined #commonlisp
treflip has quit [Ping timeout: 276 seconds]
King_julian has quit [Read error: Connection reset by peer]
King_julian has joined #commonlisp
cephei8 has left #commonlisp [#commonlisp]
<beach> phantomics: Still having problems? Your latest postings suggest something other than the initial problem with the current package.
thuna` has joined #commonlisp
<phantomics> beach: yes, the core issue is still the current package. I'm tracing the issue, the function that does the (load) is called from a webserver responding to a request. It appears that for some reason the functions handling
<phantomics> the requests are being evaluated in a cl-user context
mange has quit [Quit: Zzz...]
<jackdaniel> some wip preview: https://turtleware.eu/static/misc/wecl-20250806/main.html (check out the source code of main.html -- common lisp scripts are inlined or loaded from a remote location)
<ixelp> Web Embeddable Common Lisp
<beach> phantomics: I see. That explains the observations.
<varjag> 1
treflip has joined #commonlisp
X-Scale has quit [Ping timeout: 260 seconds]
jonatack has joined #commonlisp
<ixelp> GitHub - CodyReichert/awesome-cl: A curated list of awesome Common Lisp frameworks, libraries and other shiny stuff.
<beach> Just as well since SICL (the Common Lisp implementation) can't be used yet.
<beach> mesaoptimizer: Many libraries have been written in the context of the SICL project though.
admich1 has joined #commonlisp
yitzi has quit [Quit: yitzi]
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
greenleaf has joined #commonlisp
voidness has joined #commonlisp
voidness has quit [Changing host]
voidness has joined #commonlisp
mgl has quit []
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 240 seconds]
voidness has quit [Remote host closed the connection]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
greenleaf has quit [Quit: WeeChat 4.6.3]
<mesaoptimizer> fosskers: https://git.sr.ht/~fosskers/sly-overlay the README.org does not render as an actual readme on the web page.
<ixelp> ~fosskers/sly-overlay - Evaluation overlays for Common Lisp - sourcehut git
bpanthi977 has joined #commonlisp
X-Scale has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 244 seconds]
apac has joined #commonlisp
jon_atack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
inline has quit [Quit: Leaving]
Lycurgus has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
fosskers has quit [Ping timeout: 276 seconds]
apac has quit [Ping timeout: 244 seconds]
inline has joined #commonlisp
bpanthi978 has joined #commonlisp
thuna` has quit [Ping timeout: 244 seconds]
bpanthi977 has quit [Ping timeout: 276 seconds]
bpanthi978 is now known as bpanthi977
rkazak has joined #commonlisp
st_iron has joined #commonlisp
X-Scale has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 260 seconds]
<jasom> mesaoptimizer: fosskers left, but if they read the logs later: https://breatheoutbreathe.in/blog/2024-12-10-sourcehut-org-mode-readme.html
<ixelp> Render README.org as HTML on Sourcehut
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
rkazak has joined #commonlisp
cephei8 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
st_iron has quit [Quit: leaving]
Pixel_Outlaw has joined #commonlisp
admich1 has quit [Ping timeout: 245 seconds]
admich1 has joined #commonlisp
Pixel_Outlaw has quit [Client Quit]
X-Scale has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
cage has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
admich1 has quit [Ping timeout: 244 seconds]
admich1 has joined #commonlisp
sctb has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
treflip has quit [Ping timeout: 252 seconds]
admich1 has quit [Ping timeout: 260 seconds]
grawlinson has quit [Ping timeout: 252 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
sctb has quit [Ping timeout: 252 seconds]
sctb has joined #commonlisp
admich1 has quit [Ping timeout: 248 seconds]
admich1 has joined #commonlisp
admich1 has quit [Ping timeout: 248 seconds]
stanrifkin has joined #commonlisp
grawlinson has joined #commonlisp
kchanqvq has joined #commonlisp
grawlinson has quit [Ping timeout: 272 seconds]
decweb has quit [Quit: Konversation terminated!]
decweb has joined #commonlisp
lcn_ has quit [Ping timeout: 244 seconds]
cage has quit [Quit: rcirc on GNU Emacs 30.1]
apac has joined #commonlisp
nytpu has quit [Remote host closed the connection]
nytpu has joined #commonlisp
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi978 is now known as bpanthi977
rkazak has quit [Ping timeout: 276 seconds]
sctb has quit [Ping timeout: 248 seconds]
admich1 has joined #commonlisp
grawlinson has joined #commonlisp
rkazak has joined #commonlisp
pve has quit [Quit: leaving]
akoana has joined #commonlisp
Equill has quit [Ping timeout: 260 seconds]
mgl has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
Equill has joined #commonlisp
jonatack has joined #commonlisp
apac has quit [Quit: Konversation terminated!]
dra has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
King_julian has quit [Ping timeout: 240 seconds]
King_julian has joined #commonlisp
cdegroot has quit [Remote host closed the connection]
Equill has quit [Ping timeout: 245 seconds]
mgl has quit []
rkazak has quit [Ping timeout: 276 seconds]
dra has quit [Ping timeout: 276 seconds]
akoana has quit [Quit: leaving]
kchanqvq has quit [Ping timeout: 252 seconds]
robin has quit [Quit: Leaving]
robin has joined #commonlisp
istewart has joined #commonlisp
fosskers has joined #commonlisp
rkazak has joined #commonlisp
wavedepletion has joined #commonlisp
admich1 has quit [Ping timeout: 276 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
rgherdt_ has quit [Remote host closed the connection]
admich1 has joined #commonlisp
King_julian has quit [Ping timeout: 276 seconds]
King_julian has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
kchanqvq has joined #commonlisp
King_julian has quit [Read error: Connection reset by peer]
X-Scale has quit [Ping timeout: 260 seconds]
admich1 has quit [Ping timeout: 252 seconds]
X-Scale has joined #commonlisp
admich1 has joined #commonlisp
jonatack has quit [Ping timeout: 248 seconds]
jonatack has joined #commonlisp
Lycurgus has joined #commonlisp
jonatack has quit [Ping timeout: 276 seconds]
ldb has joined #commonlisp
<ldb> how do I disable the startup copyright banner in recent sbcl?
<bike> ldb: --noinform
King_julian has joined #commonlisp
<ldb> ah, a bit unfortunate it isn't in --help yet
<bike> it's in the manual
<bike> it's also not new, so they're probably not going to add it there i guess
<ldb> I guess --eval no longer implies no banner is a recent change
fosskers has quit [Ping timeout: 276 seconds]