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/>
karlosz has quit [Quit: karlosz]
karlosz has joined #commonlisp
quoosp has quit [Ping timeout: 255 seconds]
masinter has joined #commonlisp
occ has joined #commonlisp
karlosz has quit [Quit: karlosz]
pve has quit [Quit: leaving]
notzmv has joined #commonlisp
attila_lendvai has quit [Ping timeout: 255 seconds]
neon has quit [Ping timeout: 255 seconds]
neon has joined #commonlisp
kagev has quit [Ping timeout: 260 seconds]
occ has quit [Ping timeout: 255 seconds]
occ has joined #commonlisp
kagev has joined #commonlisp
tyson2 has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
jeosol has joined #commonlisp
occ has quit [Ping timeout: 276 seconds]
occ has joined #commonlisp
occ has quit [Ping timeout: 276 seconds]
occ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 276 seconds]
Lord_of_Life has joined #commonlisp
kevingal has joined #commonlisp
occ has quit [Ping timeout: 248 seconds]
neon has quit [Ping timeout: 268 seconds]
eddof13 has joined #commonlisp
occ has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masinter has quit [Ping timeout: 276 seconds]
bilegeek has joined #commonlisp
dcb has quit [Quit: MSN Messenger 3.8]
occ has quit [Ping timeout: 248 seconds]
occ has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
masinter has joined #commonlisp
waleee has quit [Ping timeout: 255 seconds]
kevingal has quit [Ping timeout: 276 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 255 seconds]
msavoritias has quit [Ping timeout: 260 seconds]
azimut has quit [Ping timeout: 255 seconds]
pranavats has joined #commonlisp
occ has quit [Ping timeout: 248 seconds]
occ has joined #commonlisp
occ has quit [Ping timeout: 276 seconds]
occ has joined #commonlisp
msavoritias has joined #commonlisp
occ has quit [Ping timeout: 276 seconds]
occ has joined #commonlisp
occ has quit [Ping timeout: 248 seconds]
robin has quit [Ping timeout: 255 seconds]
occ has joined #commonlisp
bilegeek has quit [Quit: Leaving]
igemnace has joined #commonlisp
emacsomancer[m] has quit [Quit: Client limit exceeded: 20000]
kenran has joined #commonlisp
masinter has quit [Ping timeout: 255 seconds]
occ has quit [Ping timeout: 268 seconds]
occ has joined #commonlisp
occ has quit [Ping timeout: 255 seconds]
occ has joined #commonlisp
neon has joined #commonlisp
nij- has joined #commonlisp
shka has joined #commonlisp
pve has joined #commonlisp
neon has quit [Remote host closed the connection]
LW has joined #commonlisp
nij- has quit [Ping timeout: 248 seconds]
azimut has joined #commonlisp
occ has quit [Ping timeout: 268 seconds]
occ has joined #commonlisp
occ has quit [Ping timeout: 248 seconds]
Cymew has joined #commonlisp
jeosol has quit [Quit: Client closed]
MajorBiscuit has joined #commonlisp
Lycurgus has joined #commonlisp
karlosz has joined #commonlisp
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
random-nick has joined #commonlisp
attila_lendvai has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
scymtym has joined #commonlisp
pranavats has joined #commonlisp
skeemer__ has quit [Ping timeout: 256 seconds]
dcb has joined #commonlisp
occ has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 248 seconds]
Colleen_ has joined #commonlisp
Colleen_ has quit [Client Quit]
repeter` has joined #commonlisp
MajorBiscuit has joined #commonlisp
repeter has quit [Ping timeout: 248 seconds]
les has quit [Quit: Adios]
les has joined #commonlisp
dcb has quit [Quit: MSN Messenger 3.8]
tyson2 has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 276 seconds]
prokhor has quit [Ping timeout: 255 seconds]
<buffet> quick question: i see `(:use)` in a lot of defpackages, when not using anything else, how come?
emacsomancer[m] has joined #commonlisp
<buffet> just to be explicit?
<beach> Because the default is implementation specific.
<buffet> ah interesting
<buffet> thanks!
<beach> clhs defpackage
<ixelp> CLHS: Macro DEFPACKAGE
<beach> "If :use is not supplied, it defaults to the same implementation-dependent value..."
MajorBiscuit has joined #commonlisp
cage has joined #commonlisp
skeemer has joined #commonlisp
<NotThatRPG> ugh.
<NotThatRPG> So *purposely* making your code implementation dependent. :-(
<beach> What?
<beach> (:USE) makes sure that there are no used packages.
<beach> And that's the only way to do that.
<beach> ... in an implementation-independent way.
<NotThatRPG> oh! I see. I misread the quote. I thought it was invoking the i-d behavior, but it's the opposite! <blush/>
masinter has joined #commonlisp
robin has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 28.2]
kenran has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 248 seconds]
NotThatRPG has quit [Remote host closed the connection]
random-jellyfish has joined #commonlisp
morganw has joined #commonlisp
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Ping timeout: 248 seconds]
Lycurgus has joined #commonlisp
eddof13 has joined #commonlisp
<buffet> next question: i'm wrapping a c library using cl-autowrap, and i got some `thing_new(thing **thing);` and i'm not sure how i'm supposed to get a `thing *` and how to get its address. any hints?
notzmv has quit [Ping timeout: 248 seconds]
<Bike> that's going to depend on the library, no?
<Bike> or do you mean that you want to pass thing_new a thing** from lisp?
<buffet> to construct a thing from c i would write `thing *x; thing_new(&x);`
<buffet> the question is how i wrap that nicely in cl
<Bike> you'd do it in cffi with with-foreign-object
<Bike> wrapping it nicely is a broader question of how you want your api to look, though, i suppose
kevingal has joined #commonlisp
<buffet> autowrap seems to only use cffi-sys, and provide its own higher level api, which seems to lack some sort of with-foreign-object
<Bike> i guess you could use with-foreign-pointer and %foreign-type-size in cffi-sys, but that sounds like not the usual way to go about it
<Bike> i have never used autowrap, so i'm not totally sure what you're supposed to do here
<buffet> hm i see
<buffet> thanks!
<Bike> sorry i cannot be more helpful
<buffet> no worries
<pjb> buffet: you need to read the documentation. thing** thing may mean several things. It could be a out thing* parameter, it could be a input vector or array of thing* parameter; it could be something else.
<buffet> it's an out param
<buffet> takes any uninitialized pointer, intializes it with a proper instance of thing
<pjb> Then it's allocated by the function. Yes.
<buffet> yes, but how do i pass in a thing **
azimut has quit [Ping timeout: 255 seconds]
<pjb> buffet: IIRC, that would be something like: (with-foreign-object (mything :pointer) (thing_new mything) (mem-ref mything :pointer))
<buffet> hm alright
<buffet> i'll just go with regular cffi maybe come back to this later
<buffet> thanks!
X-Scale has joined #commonlisp
dcb has joined #commonlisp
X-Scale has quit [Client Quit]
MajorBiscuit has quit [Quit: WeeChat 3.6]
X-Scale has joined #commonlisp
karlosz has quit [Quit: karlosz]
random-jellyfish has quit [Quit: Client closed]
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
tyson2 has quit [Remote host closed the connection]
tane has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
masinter has quit [Ping timeout: 248 seconds]
minion has quit [Remote host closed the connection]
specbot has quit [Write error: Broken pipe]
specbot has joined #commonlisp
minion has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
rgherdt_ has joined #commonlisp
kevingal has quit [Ping timeout: 265 seconds]
rogersm has joined #commonlisp
igemnace has quit [Remote host closed the connection]
X-Scale has quit [Quit: Client closed]
tyson2 has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masinter has joined #commonlisp
attila_lendvai_ has joined #commonlisp
notzmv has joined #commonlisp
attila_lendvai has quit [Ping timeout: 248 seconds]
NotThatRPG has joined #commonlisp
waleee has joined #commonlisp
agm has joined #commonlisp
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #commonlisp
<agm> hello everyone. you may be interested in a common lisp interpreter that i'm writing. it's written in c89 and i'm making good progress. it's called alisp and it's hosted at https://savannah.nongnu.org/projects/alisp
<ixelp> A lisp implementation - Summary [Savannah]
NotThatRPG_ has joined #commonlisp
NotThatRPG has quit [Ping timeout: 255 seconds]
agm has quit [Ping timeout: 276 seconds]
easye has quit [Remote host closed the connection]
easye has joined #commonlisp
Demosthenex has quit [Ping timeout: 255 seconds]
tane has quit [Ping timeout: 255 seconds]
Demosthenex has joined #commonlisp
NotThatRPG_ has quit [Quit: Textual IRC Client: www.textualapp.com]
eddof13 has joined #commonlisp
NotThatRPG has joined #commonlisp
occ has quit [Ping timeout: 276 seconds]
occ has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
tane has joined #commonlisp
agm has joined #commonlisp
azimut has joined #commonlisp
tyson2 has quit [Ping timeout: 276 seconds]
avocadoist has quit [Quit: Konversation terminated!]
avocadoist has joined #commonlisp
<an_origamian[m]> What features does it have that others don't? Just C89 for now?
<NotThatRPG> I thought I remembered that FiveAM had expected failures. Am I misremembering?
<tane> NotThatRPG, expected signal?
<NotThatRPG> tane: No, just a test that I know will fail (because it's a test that replicates a known bug)
<NotThatRPG> This is pretty normal in a testing system; I somehow thought that FiveAM had it.
avocadoist has quit [Quit: Konversation terminated!]
avocadoist has joined #commonlisp
<NotThatRPG> s/pretty normal/essential/ !
<agm> an_origamian[m]: well, i try to make it as clean and well designed as possible. also, i plan to add native compilation for x86_64 in the future. i think having a variety of free implementations is a good thing
<Catie> agm: Just out of personal curiosity, why did you choose C89 over a newer revision of the standard?
agm has quit [Ping timeout: 276 seconds]
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
agm has joined #commonlisp
jeosol has joined #commonlisp
<jeosol> Good morning all!
attila_lendvai_ has quit [Ping timeout: 268 seconds]
<agm> Catie: with C89 I have top portability, plus i like it best
jeosol has quit [Client Quit]
<Catie> Makes sense!
LW has quit [Quit: WeeChat 3.6]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agm has quit [Ping timeout: 255 seconds]
morganw has quit [Remote host closed the connection]
skeemer__ has joined #commonlisp
skeemer has quit [Ping timeout: 255 seconds]
tane has quit [Quit: Leaving]
pve has quit [Quit: leaving]
rgherdt_ has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
NotThatRPG has quit [Ping timeout: 276 seconds]
MajorBiscuit has joined #commonlisp
MajorBiscuit has quit [Quit: WeeChat 3.6]