<razzy>
all is working. but. i have trouble dealing with results. if i (set) (adr (caadr a)) manually i am setting different expression than (set (caadr a) 8) . code here: https://ptpb.pw/ekUP explanation apreciated
mtsd has joined #picolisp
razzy has quit [Read error: Connection reset by peer]
razzy has joined #picolisp
orivej has joined #picolisp
mtsd has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 245 seconds]
mtsd has joined #picolisp
<Nistur>
mornin
<Regenaxer>
Hi Nistur
<Nistur>
hulloo
<beneroth>
hi Nistur
<beneroth>
Hi Regenaxer
<Nistur>
o/
<Regenaxer>
Hi beneroth
<razzy>
good morning :]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
ubLIX has joined #picolisp
mtsd has quit [Quit: WeeChat 1.6]
freemint2 has joined #picolisp
freemint has quit [Ping timeout: 250 seconds]
freemint2 has quit [Ping timeout: 250 seconds]
freemint2 has joined #picolisp
ubLIX has quit [Quit: ubLIX]
rob_w has joined #picolisp
rob_w has quit [Client Quit]
orivej has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
orivej has quit [Ping timeout: 245 seconds]
ubLIX has joined #picolisp
orivej has joined #picolisp
<razzy>
you do not have to answer. i have trouble working with $num adresses. todays work is in repl and commented. solved issues were removed. https://ptpb.pw/p17b . my work is exploring possibility of datastructure skip-list https://en.wikipedia.org/wiki/Skip_list .# I was also looking at simul.l to learn adressing with (make) function, no luck so far. # idx should be also close, but in asm, no luck there.
orivej has quit [Ping timeout: 250 seconds]
<Regenaxer>
You should never ever have to use 'adr'
ubLIX has quit [Quit: afk haggis hunting]
freemint2 has quit [Ping timeout: 250 seconds]
freemint has joined #picolisp
<razzy>
i was hoping for more input. can i make exploratory skiplist from function (make) ?
<Regenaxer>
Why not?
<Regenaxer>
I can't help, I have not considered skiplists
<Regenaxer>
But anyway I feel that you misunderstand the mechanics of cells completely
<Regenaxer>
When you ask whether "deep lists" can be modified
<Regenaxer>
This is like asking whether you can multiply with 3
<Regenaxer>
Please first read doc/ref.html and perhaps look into doc64/structures
freemint has quit [Remote host closed the connection]
<razzy>
Regenaxer: i agree with you, that "deep-list" modification is like multiply with 3. i mean no offence. i was able to reliably modify "deep-list) only with (set (cd*r *var*) num) and it took me long time to find. so in desperation i thought picolisp does not support multiplication by 3.
<Regenaxer>
ok
<razzy>
i agree that (adr) should be scarcely used, because it makes program vulnerable to horrible bugs.
<Regenaxer>
btw, you should check 'nth' if you have really nested structures. But I don't think that in praxis big, deeply nested structures are common
<Regenaxer>
'adr' is not needed for applications
<Regenaxer>
It is a system tool
<Regenaxer>
It does nothing useful for an application
<razzy>
with picolisp lack of checks and bariers, adr is not for everyday use
<razzy>
to be fair, i have big holes in knowledge and repeated reference reads still brings me value .
<Regenaxer>
There are many such examples in rosetta
<Regenaxer>
you should study them
<Regenaxer>
(not that a bitmap in lists makes real sense)
<razzy>
i have put my questions in https://ptpb.pw/p17b some of them are sure basics. if you answer some, it would help me. should light-up my knowledge-holes.
<Regenaxer>
No. I looked at it, and it is a horror
<Regenaxer>
Forget 'adr'!!
<razzy>
too unreadable? too much adr?
<razzy>
did form horrified you? or meaning
<razzy>
i can work on form
<razzy>
btw, i was not able to make (set (ca*r *var*) num ) work which put a little problem to usability of deep lists. it is described in my webpaste
mtsd has joined #picolisp
orivej has joined #picolisp
<beneroth>
stop trying to do C Pointer-Arithmetic in Lisp...
<beneroth>
keep it simple
<beneroth>
work with symbols and their properties instead of needlessly complicated custom data structures based on complex list structures
* razzy
liked pointer arithmetics in C. it was the only thing he liked
<razzy>
i could do list of anonymous symbols. neat, thx