jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
drl has quit [Quit: Ex-Chat]
<jason_m> Yes, if foo (the library) changes, I'll have to update my code. Not too worried about that.
<White_Flame> I think it is a fairly open problem, though.
<White_Flame> lots of code has &optional (foo *default-foo*) scattered in multiple layers of calls
<White_Flame> instead of applying the default just where it's used
<White_Flame> javascript actually handles this somewhat sanely with undefined vs null
<White_Flame> (as surprising as that is for that language)
<White_Flame> but you can't pass a runtime supplied-p parameter value in CL
<White_Flame> (or the logical equivalent, however that might hypothetically be)
<jason_m> Seems like maybe one could write a function that takes some kind of argument and value list... maybe an alist or a property list, and a lambda-list, and sorts it out returning a list matching the lambda list for the given arguments.
<jason_m> But for now I'm going to use the (foo a b &rest c-d-e) approach you suggested to keep moving.
<White_Flame> yep
nicktick has joined #lisp
_whitelogger has joined #lisp
davepdotorg has joined #lisp
beach has quit [Ping timeout: 272 seconds]
rumbler31_ has quit [Ping timeout: 265 seconds]
davepdotorg has quit [Ping timeout: 272 seconds]
_whitelogger has joined #lisp
payph0ne has quit [Remote host closed the connection]
EvW has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Read error: Connection reset by peer]
mindCrime has joined #lisp
Oladon has quit [Quit: Leaving.]
Kaisyu has joined #lisp
Kundry_Wag has joined #lisp
Volt_ has joined #lisp
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #lisp
ebrasca has quit [Remote host closed the connection]
lucasb has quit [Quit: Connection closed for inactivity]
Volt_ has quit [Quit: ]
bsd4me has joined #lisp
ukari has joined #lisp
jesse1010 has quit [Ping timeout: 260 seconds]
iissaacc has joined #lisp
gxt_ has joined #lisp
gxt has quit [Remote host closed the connection]
wsinatra_ has joined #lisp
katousama has joined #lisp
davepdotorg has joined #lisp
davepdotorg has quit [Ping timeout: 260 seconds]
Misha_B has quit [Remote host closed the connection]
Lycurgus has quit [Quit: Exeunt]
troydm has quit [Ping timeout: 258 seconds]
Oladon has joined #lisp
rig0rmor_ has joined #lisp
Alloc has quit [Ping timeout: 240 seconds]
Alloc has joined #lisp
katousama has quit [Quit: WeeChat 2.3]
iAmDecim has joined #lisp
troydm has joined #lisp
troydm has quit [Client Quit]
Necktwi has quit [Ping timeout: 260 seconds]
troydm has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Necktwi has joined #lisp
Bike has quit [Quit: Lost terminal]
beach has joined #lisp
<beach> Good morning everyone!
Kundry_Wag has joined #lisp
wsinatra_ has quit [Quit: WeeChat 2.9]
wsinatra_ has joined #lisp
mathrick has joined #lisp
<rig0rmor_> (wave)
<iissaacc> sup beach
Kundry_Wag has quit [Ping timeout: 264 seconds]
katousama has joined #lisp
<beach> rig0rmor_: Are you new here? I don't recognize your nick.
mindCrime has quit [Ping timeout: 260 seconds]
<rig0rmor_> yep :)
<beach> Great! What brings you to #lisp?
<rig0rmor_> a fairly new lisper as well, new enough to still be going through SICP right now
<beach> Hmm, OK.
iAmDecim has quit [Ping timeout: 256 seconds]
<rig0rmor_> in general have a fairly new relationship with lisp and have been doing down the rabbit hole a bit
<beach> I suppose you know that SICP is based on Scheme and #lisp is dedicated to Common Lisp? Though some people follow SICP but do the exercises in Scheme.
<beach> Er,
<beach> Some people do the exercises in Common Lisp, I mean.
<rig0rmor_> yes! I started playing around with common lisp as well (using sbcl)
<beach> I see.
<aeth> You're using Common Lisp? But I thought you said you were a newLISPer?
<rig0rmor_> hah
<beach> rig0rmor_: Also, you need to know that SICP is for teaching people about general principles of how programming works. But nobody writes code like that in practice.
mindCrime has joined #lisp
<rig0rmor_> for sure - I've skimmed practical common lisp as well
<rig0rmor_> I think I'm mostly exploring an interest in programming language theory, and compilers at the lower-level of that spectrum
<beach> Excellent choices!
wsinatra_ has quit [Quit: WeeChat 2.9]
Alloc has quit [Ping timeout: 258 seconds]
<beach> rig0rmor_: And Common Lisp is an excellent choice for programming-language design. It was designed by some very smart and very knowledgeable people. They were able to push the language very far, while remaining withing the boundary that still makes it possible to write compilers that generate fast code.
<beach> Most languages fail in either one or the other or both those aspects.
<rig0rmor_> yeah, it's been fun trying to grok the sbcl codebase too
<beach> I might have chosen a word different than "fun" for that. :)
<rig0rmor_> that's a little encouraging then hah
<beach> If you want a more, how should I say this, "orthogonal" code base, you may want to look into SICL, though, the system does not exist yet, in that there is no native executable to run.
mindCrime has quit [Ping timeout: 240 seconds]
<beach> minion: Please tell rig0rmor_ about SICL.
<minion> rig0rmor_: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL
<beach> Of course, you caught me during a major modification of many parts of the code base. We are extracting the management of global environments to a separate library, and we changed the signatures of all the generic functions in the process.
<rig0rmor_> ahh robert has a series of videos on this on youtube I think?
<beach> So it's a mess right now.
<beach> The "Creating a Common Lisp Implementation" series?
<rig0rmor_> all in my queue right now
<rig0rmor_> yep!
<beach> That's more general.
<rig0rmor_> ah okay
<beach> I mean, I will end up with SICL in the end, but I am starting off with simpler stuff. :)
<rig0rmor_> awesome thanks for sharing the repo!
<beach> Sure. If you have questions, we hang out in #sicl.
<rig0rmor_> sweet
troydm has quit [Ping timeout: 246 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
iAmDecim has joined #lisp
<beach> rig0rmor_: Oh, and #sicl seems to be the preferred hangout for people interested in all kinds of aspects of implementing not only SICL, and not only Common Lisp, but Lisp in general.
<rig0rmor_> neat, joined :)
madage has quit [Ping timeout: 240 seconds]
rig0rmor_ has quit [Quit: Textual IRC Client: www.textualapp.com]
mathrick has quit [Ping timeout: 265 seconds]
<johnjay> beach: SICL isn't a bad name.
_paul0 has joined #lisp
<johnjay> is the motivation to not have to use version 1.2 to compile 1.3 to compile 1.4 but just compile everything from a base source?
paul0 has quit [Ping timeout: 240 seconds]
madage has joined #lisp
Volt_ has joined #lisp
<beach> johnjay: Thanks. Thanks to phoe, it now means "SICL Implements Common Lisp".
gravicappa has joined #lisp
<beach> johnjay: The entire system should be possible to build using any ANSI-conforming Common Lisp implementation plus the "Closer MOP" library.
abhixec has joined #lisp
_whitelogger has joined #lisp
Lord_of_Life_ has joined #lisp
Kundry_Wag has joined #lisp
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
ukari has quit [Remote host closed the connection]
iAmDecim has quit [Ping timeout: 260 seconds]
ukari has joined #lisp
Kundry_Wag has quit [Ping timeout: 265 seconds]
bsd4me has left #lisp ["Leaving"]
abhixec has quit [Read error: Connection reset by peer]
Alloc has joined #lisp
<markasoftware> any good RNG libraries that take an integer seed, so I can persist the seed to a file?
torbo has quit [Remote host closed the connection]
shangul has joined #lisp
narimiran has joined #lisp
Oladon has quit [Quit: Leaving.]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
Alloc has quit [Ping timeout: 260 seconds]
Alloc has joined #lisp
Oladon has joined #lisp
Oladon has quit [Client Quit]
bocaneri has joined #lisp
<Alfr> markasoftware, if you only want to save and restore it, then you may simply print a random-state and read it back.
<Alfr> May or may not work across implementations though.
iAmDecim has joined #lisp
space_otter has joined #lisp
iAmDecim has quit [Ping timeout: 264 seconds]
davepdotorg has joined #lisp
iAmDecim has joined #lisp
davepdotorg has quit [Ping timeout: 272 seconds]
iissaacc has quit [Ping timeout: 240 seconds]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
adamic has joined #lisp
adamic has quit [Client Quit]
Kundry_Wag has joined #lisp
mathrick has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
mangul has joined #lisp
mangul has quit [Remote host closed the connection]
shangul has quit [Ping timeout: 240 seconds]
shangul has joined #lisp
wxie has joined #lisp
<phoe> s/may or may not/will not/
Necktwi has quit [Ping timeout: 240 seconds]
pumpknckl has joined #lisp
mangul has joined #lisp
<pumpknckl> to have bill gosper call you 'turing smart' is impressive.
shangul has quit [Ping timeout: 258 seconds]
wxie has quit [Ping timeout: 256 seconds]
shka_ has joined #lisp
Necktwi has joined #lisp
dmiles has joined #lisp
frgo has joined #lisp
pumpknckl has quit [Remote host closed the connection]
brixxton has joined #lisp
heisig has joined #lisp
<Alfr> phoe, okay. I was only paraphrasing the spec.
liberliver has joined #lisp
treflip has joined #lisp
<phoe> yes, that is correct
<phoe> though I don't know a single pair of implementations whose random states are interexchangeable
<phoe> maybe Clasp and ECL, but I am not a Clasp user
gioyik has quit [Quit: WeeChat 2.9]
scymtym has quit [Ping timeout: 260 seconds]
ljavorsk has joined #lisp
cgay has quit [Quit: Connection closed for inactivity]
pve has joined #lisp
space_otter has quit [Remote host closed the connection]
Volt_ has quit [Quit: ]
scymtym has joined #lisp
ggole has joined #lisp
brixxton has quit [Remote host closed the connection]
random-nick has joined #lisp
<beach> phoe: When do you plan to schedule the next online Lisp meeting? I prefer Wednesday to Monday, but if push comes to shove, Monday works as well.
Cymew has joined #lisp
<phoe> beach: oh snap, I knew that I forgot to do something. I'll announce it today.
<phoe> Wednesday sounds good.
<beach> Oh, heh!
<beach> Great!
tumdum has joined #lisp
tumdum has joined #lisp
tumdum has quit [Changing host]
tumdum has quit [Client Quit]
tumdum has joined #lisp
tumdum has joined #lisp
tumdum has quit [Changing host]
orivej has quit [Ping timeout: 240 seconds]
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
jonatack has quit [Ping timeout: 260 seconds]
davepdotorg has joined #lisp
mangul has quit [Ping timeout: 264 seconds]
datajerk has quit [Ping timeout: 240 seconds]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
datajerk has joined #lisp
bilegeek has quit [Quit: Leaving]
zaquest has quit [Quit: Leaving]
davepdotorg has quit [Remote host closed the connection]
jonatack has joined #lisp
iissaacc has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
edgar-rft has joined #lisp
nicktick has quit [Ping timeout: 260 seconds]
davepdotorg has joined #lisp
karlosz has quit [Quit: karlosz]
jesse1010 has joined #lisp
zaquest has joined #lisp
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
yitzi has joined #lisp
rogersm has joined #lisp
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
Necktwi has quit [Ping timeout: 240 seconds]
Necktwi has joined #lisp
Kaisyu has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #lisp
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 258 seconds]
emys has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
<phoe> beach: I have an unexpected possible collision since one person that I didn't expect to reply to my mail replied sooner than I thought.
<phoe> But I'll wait for yet another mail reply and then figure things out.
<phoe> How long will be your talk?
Blukunfando has joined #lisp
moldybits has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
homeLess2` has joined #lisp
cosimone has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
bitmapper has quit [Ping timeout: 258 seconds]
emys has quit [Ping timeout: 272 seconds]
emys has joined #lisp
emys has quit [Ping timeout: 272 seconds]
tich has joined #lisp
Bike has joined #lisp
tich has quit [Remote host closed the connection]
aartaka has joined #lisp
cosimone has quit [Quit: Quit.]
aartaka has quit [Ping timeout: 256 seconds]
tsrt^ has joined #lisp
orivej has joined #lisp
skapata has joined #lisp
skapata has left #lisp [#lisp]
jonatack has quit [Ping timeout: 264 seconds]
m00natic has joined #lisp
infra_red[m] has quit [Quit: killed]
sammich has quit [Quit: killed]
Gnuxie[m] has quit [Quit: killed]
even4void[m] has quit [Quit: killed]
fwoaroof[m] has quit [Quit: killed]
kelamir[m] has quit [Quit: killed]
no-defun-allowed has quit [Quit: killed]
cairn has quit [Quit: killed]
Jach[m] has quit [Quit: killed]
MrtnDk[m] has quit [Quit: killed]
katco has quit [Quit: killed]
eric[m]4 has quit [Quit: killed]
kinope has quit [Quit: killed]
homeLess2` has quit [Max SendQ exceeded]
materialfuture[m has quit [Quit: killed]
Kundry_Wag has joined #lisp
pve_ has joined #lisp
homeLess2` has joined #lisp
Bourne has quit [Ping timeout: 240 seconds]
<beach> phoe: Hard to say. Definitely less than an hour. But we can change days if you like.
Kundry_Wag has quit [Ping timeout: 260 seconds]
pve has quit [Ping timeout: 240 seconds]
wsinatra has quit [Ping timeout: 256 seconds]
Kundry_Wag has joined #lisp
userself has joined #lisp
jonatack has joined #lisp
Kundry_Wag has quit [Ping timeout: 256 seconds]
cosimone has joined #lisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
EvW1 has joined #lisp
<phoe> I am thinking right now
<phoe> Basically I unexpectedly got a pair of hour-long talks for this next meeting
<beach> I am flexible. Anything except Monday morning works. Or even the following week.
<phoe> And now I need to figure out whether we want to accomodate both and have a 2.5h+ long meeting or whether we want to split that
<beach> I can wait.
<phoe> And I'm partial towards the other approach, which means that one of them will happen e.g. a week later
<beach> Why don't you give some priority to those other talks.
<beach> I am absolutely in no rush.
<beach> I can wait two weeks if you like.
<phoe> OK - thanks a million. I'll schedule yours on Wednesday 16th 13:00 CEST - is that OK?
<phoe> I'd schedule it on 23rd but I might be unable to stream then
<phoe> Hence only a week of delay between thet wo.
<phoe> the two.
<beach> Sounds good to me.
<phoe> OK
<phoe> time to prepare the announcements then
ldbeth has joined #lisp
wsinatra has joined #lisp
<ldbeth> good evening
<beach> Hello ldbeth.
wsinatra_ has joined #lisp
eric[m]3 has joined #lisp
no-defun-allowed has joined #lisp
infra_red[m] has joined #lisp
even4void[m] has joined #lisp
camlriot42 has joined #lisp
sammich has joined #lisp
MrtnDk[m] has joined #lisp
kelamir[m] has joined #lisp
Gnuxie[m] has joined #lisp
katco has joined #lisp
fwoaroof[m] has joined #lisp
cairn has joined #lisp
kinope has joined #lisp
Jach[m] has joined #lisp
materialfuture[m has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
ft has quit [Ping timeout: 260 seconds]
ljavorsk has quit [Ping timeout: 260 seconds]
ft has joined #lisp
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 256 seconds]
homeLess2` has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 240 seconds]
corpix has joined #lisp
aartaka has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
DGASAU`` has quit [Remote host closed the connection]
aartaka has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
Denommus has joined #lisp
pve_ has quit [Ping timeout: 256 seconds]
pve has joined #lisp
orivej has joined #lisp
ldbeth` has joined #lisp
aartaka has joined #lisp
ldbeth has quit [Ping timeout: 260 seconds]
DGASAU has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
emacsomancer has quit [Quit: WeeChat 2.8]
srhm has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Remote host closed the connection]
skapata has joined #lisp
emacsomancer has joined #lisp
Kundry_Wag has joined #lisp
orivej has joined #lisp
ukari has quit [Remote host closed the connection]
gko_ has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
aartaka has quit [Read error: Connection reset by peer]
troydm has joined #lisp
m00natic has quit [Remote host closed the connection]
terpri has quit [Ping timeout: 244 seconds]
terpri has joined #lisp
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
sjl_ has joined #lisp
orivej has joined #lisp
aartaka has joined #lisp
skapata has left #lisp ["Ĝis"]
aartaka has quit [Read error: Connection reset by peer]
Cymew has quit [Remote host closed the connection]
Cymew has joined #lisp
nicktick has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
ldbeth` has quit [Ping timeout: 240 seconds]
Cymew has quit [Remote host closed the connection]
emys has joined #lisp
Cymew has joined #lisp
<Xach> Who loves climacs and can figure it out?
<beach> That looks like something resulting from recent changes in McCLIM.
<beach> Maybe jackdaniel or scymtym can figure it out.
<scymtym> Xach: i ran into that by accident yesterday. i believe this is stale/broken code in climacs which McCLIM now detects
<scymtym> jackdaniel: ^
IPmonger has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
<jackdaniel> I've opened the offending file a moment ago
<beach> We really should get Second Climacs up and running. *sigh* so much to do, so little time.
<scymtym> jackdaniel: i think LISP-STRING used to be defined as a presentation type but was removed at some point. there are two or three other instances
* jackdaniel was trying to be quiet, because he doesn't love climacs :)
<Xach> wise
iAmDecim has quit [Ping timeout: 246 seconds]
userself has quit [Quit: Idle for 30+ days]
<jackdaniel> indeed, mcclim is more strict and detected a bug in climacs
<jackdaniel> it defined commands specialized on presentation types, but the symbols were not imported
<jackdaniel> so it was trying to define things on symbols which were not designating presentations
<jackdaniel> Xach: please pull now
<jackdaniel> (climacs, not mcclim)
<_death> apparently (uiop:define-package #:foo (:import-from #:ajhasdjhas/asdjhasdjas)) where the import-from package does not exist, does not signal an error :/
emys has quit [Ping timeout: 260 seconds]
emys has joined #lisp
treflip has quit [Quit: WeeChat 2.6]
heisig has quit [Quit: Leaving]
Kundry_W_ has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
justache has quit [Read error: Connection reset by peer]
<phoe> _death: likely it gets optimized away
<phoe> it should check for that package's existence though
Kundry_Wag has quit [Ping timeout: 246 seconds]
<Xach> especially if the define-package form is generated by a macro or other code
justache has joined #lisp
<_death> since I use package-inferred-systems it actually should've loaded the appropriate system, but it didn't.. quickloading it worked.. so I'd say something's fishy
emys has quit [Ping timeout: 258 seconds]
<_death> it did load another system with a very similar name.. a/b/c/foo loaded and a/b/c/bar was not.. very strange
contrapunctus has joined #lisp
<_death> on the other hand, it's sbcl 1.3.10 so could use an update
emys has joined #lisp
rig0rmortis has joined #lisp
<_death> and it seems new sbcl wants new gcc..
<_death> (removing the -Wimplicit-fallthrough option worked)
tumdum has quit [Remote host closed the connection]
tumdum has joined #lisp
tumdum has joined #lisp
tumdum has quit [Changing host]
ntr has quit [Ping timeout: 246 seconds]
Cymew has quit [Ping timeout: 258 seconds]
ntr has joined #lisp
rogersm has quit [Quit: Leaving...]
<contrapunctus> Trying to decide on a parser generator library...I've tried esrap, I like the API, but the benchmarks on the MaxPC blog say it's significantly inefficient; MaxPC is AGPL; for some indescribable reason I find smug's API and documentation impenetrable 😔
EvW1 has quit [Ping timeout: 244 seconds]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
rumbler31_ has joined #lisp
contrapunctus has joined #lisp
<_death> oh, I screwed up the :import-from.. had (:import-from :package1 :package2) instead of two :import-from clauses
payph0ne has joined #lisp
Denommus has quit [Remote host closed the connection]
Denommus has joined #lisp
aeth has quit [Ping timeout: 258 seconds]
mindCrime has joined #lisp
aeth has joined #lisp
yitzi has joined #lisp
srhm has joined #lisp
aartaka has joined #lisp
rig0rmortis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gareppa has joined #lisp
davepdot_ has joined #lisp
davepdotorg has quit [Ping timeout: 260 seconds]
gareppa has quit [Remote host closed the connection]
Patzy has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
shinohai has quit [Ping timeout: 260 seconds]
frgo has quit [Remote host closed the connection]
aartaka has joined #lisp
frgo has joined #lisp
Denommus has quit [Ping timeout: 272 seconds]
emys has quit [Ping timeout: 244 seconds]
Jeanne-Kamikaze has joined #lisp
davepdot_ has quit [Quit: Leaving...]
shinohai has joined #lisp
emys has joined #lisp
theseb has joined #lisp
iissaacc has quit [Remote host closed the connection]
iissaacc has joined #lisp
bitmapper has joined #lisp
emys has quit [Ping timeout: 260 seconds]
liberliver has quit [Quit: liberliver]
emys has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
emys has quit [Ping timeout: 246 seconds]
payph0ne has quit [Remote host closed the connection]
emys has joined #lisp
rig0rmortis has joined #lisp
dddddd_ has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
dddddd has quit [Ping timeout: 264 seconds]
dddddd__ has joined #lisp
dddddd_ has quit [Ping timeout: 240 seconds]
emys has quit [Ping timeout: 240 seconds]
vhost- has quit [Quit: WeeChat 2.8]
payph0ne has joined #lisp
dddddd__ has quit [Ping timeout: 260 seconds]
emys has joined #lisp
aartaka has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
nicktick has quit [Ping timeout: 256 seconds]
vhost- has joined #lisp
vhost- has joined #lisp
vhost- has quit [Changing host]
nicktick has joined #lisp
mseddon has quit [Quit: The Lounge - https://thelounge.chat]
gko_ has quit [Ping timeout: 240 seconds]
mseddon has joined #lisp
moldybits has quit [Quit: WeeChat 2.4]
mseddon has quit [Client Quit]
mseddon has joined #lisp
jonatack has joined #lisp
space_otter has joined #lisp
gaqwas[m] has joined #lisp
cosimone has quit [Quit: Quit.]
mseddon_ has joined #lisp
mseddon_ has quit [Client Quit]
<jasom> contrapunctus: if you backtrack alot, esrap will be fast, if you backtrack rarely, it will be slow. I wrote an esrap parser for json and then basically the identical code as a recursive-descent parser and the latter was faster just because there was no backtracking. On the other hand I did a parser for restructured-text tables with a monadic parser and esrap beat the pants off of it, because it
<jasom> spent 99% of the time backtracking.
<jasom> contrapunctus: aren't smug and MaxPC very similar interfaces? They are both monadic parsers.
katousama has quit [Quit: WeeChat 2.3]
katousama has joined #lisp
emys has quit [Ping timeout: 272 seconds]
orivej has joined #lisp
emys has joined #lisp
space_otter has quit [Remote host closed the connection]
emys has quit [Ping timeout: 240 seconds]
bars0 has joined #lisp
<contrapunctus> jasom: thanks for telling me about the effect of backtracking on performance; I'll try to analyze how often the language I'm trying to implement requires it, and keep it in mind when choosing a library.
<jasom> contrapunctus: I mostly use esrap unless I know parsing will impact performance of the system, fwiw
<jasom> or if I need inputs other than strings
emys has joined #lisp
dddddd__ has joined #lisp
dddddd__ is now known as dddddd
theseb has quit [Quit: Leaving]
aartaka has joined #lisp
bocaneri has quit [Remote host closed the connection]
emys has quit [Ping timeout: 246 seconds]
rippa has joined #lisp
gravicappa has quit [Ping timeout: 256 seconds]
emys has joined #lisp
gravicappa has joined #lisp
ayuce has quit [Remote host closed the connection]
nullman` has joined #lisp
nullman has quit [Remote host closed the connection]
aartaka has quit [Read error: Connection reset by peer]
<fiddlerwoaroof> contrapunctus: I wrote a parser for EDN with smug, and it was fast enough but significantly slower than Clojure's implementation (for $work I have to be able to process EDN files that are 10s of MB)
<fiddlerwoaroof> The interface isn't horrible, if you know a little about parser-combinators :)
<fiddlerwoaroof> But, like many libraries, documentation wasn't a priority :)
* fiddlerwoaroof is havign weird issues with emacs allocating and never gcing like 10GB of memory
william1_ has joined #lisp
* edgar-rft is luckily not having such problems because he hasn't 10GB of RAM
<fiddlerwoaroof> Emacs takes like 5 minutes to gc that amount of RAM
<rig0rmortis> fiddlerwoaroof: have you tweaked gc-cons-threshold? I have (setq gc-cons-threshold 50000000) in my init to gc after 50mb
<edgar-rft> fiddlerwoaroof: your RAM isn't garbage enough
<fiddlerwoaroof> I have it to (* 100 1024)
<fiddlerwoaroof> Anyways, it's only happened to me with emacs 27
<rig0rmortis> ah, weird
narimiran has joined #lisp
<contrapunctus> fiddlerwoaroof: EDN = Extensible Data Notation?
william1_ has quit [Ping timeout: 260 seconds]
<fiddlerwoaroof> Yeah, the clojure file format
william1_ has joined #lisp
midre has quit [Ping timeout: 256 seconds]
<fiddlerwoaroof> If you need a textual way to serialize data structures, it's one of the better ones :) Fewer limitations than JSON, less annoying than YAML
midre has joined #lisp
<contrapunctus> Looks like...s-expressions o.O
<fiddlerwoaroof> Yeah, with literals for maps, vectors and sets
katousama has quit [Quit: WeeChat 2.3]
aartaka has joined #lisp
aartaka_d has joined #lisp
emys has quit [Ping timeout: 260 seconds]
aartaka has quit [Ping timeout: 260 seconds]
aartaka_d has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
emys has joined #lisp
bars0 has quit [Quit: leaving]
emys has quit [Ping timeout: 258 seconds]
katousama has joined #lisp
payph0ne has quit [Remote host closed the connection]
william1_ has quit [Quit: WeeChat 1.9.1]
shka_ has quit [Quit: Konversation terminated!]
payph0ne has joined #lisp
Denommus has joined #lisp
cosimone has joined #lisp
katousama has quit [Quit: WeeChat 2.3]
yitzi has quit [Quit: yitzi]
cartan has joined #lisp
secretmyth has joined #lisp
_Posterdati_ has quit [Ping timeout: 260 seconds]
dreamcompiler has joined #lisp
edgar-rft has quit [Quit: Leaving]
rumbler31_ has quit [Ping timeout: 256 seconds]
karlosz has joined #lisp
wsinatra has quit [Quit: WeeChat 2.9]
MichaelRaskin has joined #lisp
scymtym has quit [Ping timeout: 244 seconds]
_Posterdati_ has joined #lisp
wsinatra_ has quit [Ping timeout: 244 seconds]
bilegeek has joined #lisp
rumbler31_ has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
Jeanne-Kamikaze has quit [Ping timeout: 240 seconds]
narimiran has quit [Ping timeout: 264 seconds]
jprajzne has quit [Read error: Connection reset by peer]
jprajzne has joined #lisp
jesse1010 has quit [Ping timeout: 256 seconds]
ck_ has quit [Quit: I have to reticulate a few splines]
ck_ has joined #lisp
scymtym has joined #lisp
<pve> _death: a follow-up to my metaclass trouble: it seems your suggestion to have one supermetaclass worked, so big thanks
<pve> I didn't realise I only needed to define one validate-superclass method
<pve> just goes to show this stuff is way to meta for me
<pve> *too
wsinatra_ has joined #lisp
EvW has joined #lisp
<_death> cool
Jeanne-Kamikaze has joined #lisp
gravicappa has quit [Ping timeout: 256 seconds]
mindCrime has quit [Ping timeout: 260 seconds]
rig0rmortis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rig0rmortis has joined #lisp
dreamcompiler has quit [Quit: dreamcompiler]
orivej has joined #lisp
ggole has quit [Quit: Leaving]
mindCrime has joined #lisp
cgay has joined #lisp
nullman` has quit [Ping timeout: 256 seconds]
payph0ne has quit [Remote host closed the connection]
SAL9000 has quit [Quit: WeeChat 2.7.1]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
szmer_ has joined #lisp
random-nick has quit [Ping timeout: 260 seconds]
sjl_ has quit [Ping timeout: 260 seconds]
torbo has joined #lisp
szmer_ has left #lisp ["Leaving"]
liberliver has joined #lisp
payph0ne has joined #lisp
jprajzne has quit [Quit: jprajzne]
rig0rmortis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jprajzne has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
rig0rmortis has joined #lisp
rig0rmortis has quit [Client Quit]
terpri_ has joined #lisp
terpri has quit [Read error: Connection reset by peer]
hhmer has joined #lisp
liberliver has quit [Ping timeout: 272 seconds]
gaqwas has quit [Ping timeout: 260 seconds]
bilegeek has quit [Read error: Connection reset by peer]
<no-defun-allowed> fiddlerwoaroof: If it looks vaguely like s-expressions, could a dispatch table technique work for EDN? That might be faster.
pve_ has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
<contrapunctus> Trying to understand how to emit the IR for CommonDoc. There is documentation for defining the format as a GF with the associated methods, as well as for constructing a document as CLOS objects, but that seems different from what the Scriba parser does - it returns some plists. I could start trying to replicate its output, but I'd feel more confident if I could see some documentation on this subject...
<contrapunctus> ...hm, maybe I could go through the CommonDoc sources to understand what it expects 🤔
pve has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: Quit.]
SAL9000 has joined #lisp
Blukunfando has quit [Ping timeout: 258 seconds]
EvW has quit [Ping timeout: 246 seconds]
emys has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
wsinatra_ has quit [Quit: WeeChat 2.9]
pve_ has quit [Quit: leaving]
ark has quit [Quit: ZNC 1.7.4 - https://znc.in]
emys has quit [Ping timeout: 260 seconds]
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
emys has joined #lisp
space_otter has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
bilegeek has joined #lisp
emys has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
<elioat> does anyone know of a way to "pretty print" an s-expression when it is written to a file? I have a function that saves an s-expression to a file to later read it back
Kundry_Wag has quit [Ping timeout: 265 seconds]
Volt_ has joined #lisp
<no-defun-allowed> clhs pprint
orivej has quit [Ping timeout: 265 seconds]
<elioat> wicked! thanks so much no-defun-allowed and specbot
orivej has joined #lisp
<elioat> (love to thank a bot)
<Bike> keep in mind that if you pretty print it it's very possible it can't be read back (by CL:READ)
mindCrime has quit [Excess Flood]
mindCrime has joined #lisp
<elioat> that's a good point, Bike thanks! -- I'm thinking that a may actually just have a dump function that is for displaying this data in a human friendly manner, and then keep things as is.