beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
seninha has quit [Remote host closed the connection]
kuao has quit [Quit: Connection closed for inactivity]
aw- has quit [Ping timeout: 244 seconds]
aw- has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
<abu[m]> Too bad I did not implement that from the beginning
<abu[m]> Opaque pointers are really a much better (= simpler) concept
<abu[m]> I can compile in LLVM 14 if I omit "-O3" from 'opt'
<abu[m]> And: I can make changes incrementally, so I can test step by step
<abu[m]> But: Bad news is that it is not only Makefile and src/lib/llvm.l, but many files in src/*.l too because they contain pointer types
<abu[m]> So it indeed needs two different src/ directories if we want to support both old and new versions
<tankf33der> ok
<tankf33der> i will do my best.
<abu[m]> Thanks!!
<abu[m]> I think opaque pointer work only at >= 14
<abu[m]> What to do with old LLVMs?
<abu[m]> Two src/ directories?
<abu[m]> Or wait a year or two, and then deprecate <14
seninha has joined #picolisp
<tankf33der> user base is so small
<abu[m]> right
<tankf33der> and no one could get llvm15 for their linux distro
<tankf33der> only rolling distro will be llvm15 soon
<abu[m]> llvm14 is also good (I use here on Termux and all my Debian installations)
<tankf33der> ok
<abu[m]> but no idea about e.g. llvm13
<tankf33der> now i think you should choose future and have only one opaque version
<tankf33der> you could split for older and maintain only opaque
<tankf33der> ====
<tankf33der> i could test on llvm13
<abu[m]> yeah
<abu[m]> You can test with this http://pb1n.de/?4cc63c
<abu[m]> on 14 it builds the non-opaque sources too
<tankf33der> asap, getting llvm13 ecosystem
<abu[m]> cool
<abu[m]> Does pb1n preserve TABs? (i.e. in Makefile)
<abu[m]> Anyway you know what it is. I made two globals OPT and OPQ to switch between old and new
<abu[m]> And -O3 needs to be off, otherwise 'opt' crashes with a segfault in llvm14
<tankf33der> i used opaque flag in clang too
<tankf33der> how it compiled without it?!
<abu[m]> No sources are changed yet
<abu[m]> And clang is irrelevant for us. It is used only to compile .c files or assemble .s files. The pointer stuff is in the stage .l -> .ll -> .bc
<tankf33der> clang used to compile lib.c
<tankf33der> all three must be on the same level of opaquness
<tankf33der> opt, llvm-link and clang
<abu[m]> ok, but on 14 nobody complained
<tankf33der> ok
alexshendi has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
fuxoft has joined #picolisp
fuxoft has quit [Client Quit]
fuxoft has joined #picolisp
<fuxoft> Sorry for the noob question but in the PicoLisp reference documentation, why do some of the definitions contain dot (e.g. "(de sym . any) -> sym") and others do not (e.g. "(diff 'lst1 'lst2) -> lst")? In both cases, I use these commands without entering the dots. Does this have something to do with dotted pairs?
<abu[m]> Yes, correct
<abu[m]> (de f (N) (foo N)) is the same as (de f . ((N) (foo N)))
<abu[m]> so 'any' is a function here
<abu[m]> Try to draw these expressions in box notation
<fuxoft> OK I'll try, Thanks for pointing me in the right direction
fuxoft has quit [Quit: Client closed]
<abu[m]> hmm, stupid IRC :/
<abu[m]> or, rather, stupid Matrix/IRC bridge cannot handle multi-line messages it seems
alexshendi has quit [Quit: -a- Connection Timed Out]
seninha has quit [Quit: Leaving]
alexshendi has joined #picolisp
seninha has joined #picolisp
alexshendi has quit [Ping timeout: 268 seconds]
alexshendi has joined #picolisp
chexum_ has joined #picolisp
chexum has quit [Remote host closed the connection]
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Ping timeout: 268 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
seninha has quit [Remote host closed the connection]
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
fuxoft has joined #picolisp
<fuxoft> Unfortunately, I've never used it. But I think I understand it better now. I need much more practice...
<abu[m]> Good ☺
fuxoft has quit [Client Quit]
fuxoft has joined #picolisp
fuxoft has quit [Client Quit]
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshe96 has joined #picolisp
alexshe68 has joined #picolisp
alexshe96 has quit [Read error: Connection reset by peer]
alexshe42 has joined #picolisp
alexshendi has quit [Ping timeout: 264 seconds]
alexshe68 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe42 has quit [Ping timeout: 268 seconds]
alexshe52 has joined #picolisp
alexshe47 has joined #picolisp
alexshe13 has joined #picolisp
alexshe47 has quit [Read error: Connection reset by peer]
alexshe83 has joined #picolisp
alexshendi has quit [Ping timeout: 265 seconds]
alexshe83 has quit [Client Quit]
alexshe52 has quit [Ping timeout: 244 seconds]
alexshe13 has quit [Ping timeout: 244 seconds]
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
fuxoft has joined #picolisp
fuxoft has quit [Quit: Client closed]
seninha has quit [Quit: Leaving]
seninha has joined #picolisp