ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
rob_w has joined #picolisp
mtsd has joined #picolisp
<Regenaxer> PilCon in less than an hour
rob_w has quit [Ping timeout: 256 seconds]
<Nistur> mornin'
<beneroth> Morning Nistur, Regenaxer
<Nistur> o/
<Regenaxer> Hi Nistur, beneroth
<Regenaxer> PilCon starts soon
<beneroth> yeah. Unfortunately I will be only participate a bit listening, need to do some other stuff side :/
<Regenaxer> Ok, no problem
rob_w has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
<aw-> oh pilcon, i forgot
<aw-> jumping on in a minute
mtsd has quit [Quit: mtsd]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
mtsd has joined #picolisp
orivej has joined #picolisp
aw- has quit [Quit: Leaving.]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
mtsd has quit [Quit: mtsd]
rob_w has quit [Quit: Leaving]
_whitelogger has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
orivej has joined #picolisp
mtsd has joined #picolisp
rob_w has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
aw- has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
xkapastel has joined #picolisp
mtsd has quit [Quit: mtsd]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<tankf33der> i completely added all my codebase to testing pil21. only coroutines left and for db tests i have only several functions.
<beneroth> thanks tankf33der :)
<Regenaxer> Yeah, cool!
<Regenaxer> DB will work soon I hope
<Regenaxer> atm working on 'pool'
<Regenaxer> biggest fish is 'commit'
<Regenaxer> then finish coroutines
<tankf33der> ok
<Regenaxer> As I said in PilCon today, I hope to finish the base system this summer
<Regenaxer> (perhaps August?)
<tankf33der> mine codebase is working.. i will wait for feedback when users will run their codebase on pil21.
<Regenaxer> ok
<aw-> mine doesn't work :\
<tankf33der> i hope 2-5 users will run something.
<Regenaxer> math.l ran all through with gc+ ?
<aw-> i tried running on some of my code but (file) is missing
<tankf33der> Regenaxer: separately passed.
<Regenaxer> hi aw-, file is there meanwhile
<Regenaxer> tankf33der, great
<tankf33der> afk.
<Regenaxer> aw-, I made it the next day after you told us
<aw-> oh really?
<Regenaxer> :)
<aw-> ok i'll update and try again
<Regenaxer> cool
<aw-> ohhhh
<aw-> it works!
<Regenaxer> Super
<aw-> hmmm
<aw-> some weird issue
<Regenaxer> you need to watch out for the differences to pil64
<aw-> if i exit the repl with ctrl+c, i lose my cursor
<Regenaxer> doc/diff
<Regenaxer> I see
<aw-> have to use 'reset' to fix my screen
<Regenaxer> You don't use Ctrl-D ?
<aw-> no i used ctrl+c by accident
<Regenaxer> Ctrl-C goes into a breakpoint
<Regenaxer> hmm
<aw-> cursor gets fudged, and can't see what itype
<Regenaxer> I get a ! breakpoint
<Regenaxer> oh
<Regenaxer> Some readline() issue?
<aw-> yes it seems like it
<Regenaxer> pil21 now uses readline instead of self-made led
<aw-> i can still type, it just doesn't appear
<aw-> so 'reset' fixes it
<Regenaxer> raw mode
<Regenaxer> stty sane ?
<Regenaxer> yeah, 'reset' should be the same
<Regenaxer> anyway, why does this happen?
<Regenaxer> was it plain ./pil + ?
<aw-> no just ./pil
<Regenaxer> ok, also good
<aw-> oh sorry
<aw-> my program was crashed
orivej has quit [Ping timeout: 240 seconds]
<aw-> well not 'crashed'
<Regenaxer> yeah, no echo
<Regenaxer> raw mode
orivej has joined #picolisp
<aw-> i can't reproduce it perfectly
<Regenaxer> it is Raspbian/arm64 ?
<aw-> yes
<aw-> no
<aw-> armbian, arm64
<Regenaxer> strange
<Regenaxer> I use it on termux/arm an Debian/x86
<Regenaxer> sigh
<Regenaxer> always some differences
<aw-> here i'll show you
<aw-> [test_kv.l:237] !? (lines *KV_aof)
<aw-> lines -- Undefined
<aw-> then i pressed ctrl+c twice
<aw-> and no echo
<Regenaxer> ok, I tried also two C-C's, no problem
<aw-> i know i should use ctrl+d, or (quit)
<Regenaxer> yes, but C-C is also correct
<Regenaxer> I get !, on second it is still !
<Regenaxer> and echo is on
<aw-> i tried again only with pil21
<aw-> lines -- Undefined
<aw-> ?
<aw-> Aborted
<aw-> free(): double free detected in tcache 2
<aw-> NIL
<aw-> after ctrl+c twice
<Regenaxer> double free is also not good
<Regenaxer> So the causes an error, then it does not clean up the tty
<tankf33der> i have crash for double ctrl-c in my list
<tankf33der> too
<Regenaxer> Perhaps it needs an error first?
<Regenaxer> what if you start ./pil and then ^C ?
<aw-> Regenaxer: that works fine
<aw-> well.. does nothing actually
<Regenaxer> Ah, you should have told
<Regenaxer> no ! ?
<Regenaxer> got it
<aw-> ?
<Regenaxer> $ ./pil -mist
<Regenaxer> !? (mist)
<Regenaxer> mist -- Undefined
<Regenaxer> ? ~/pil21 ~/pil21 ~/pil21
<Regenaxer> raw mode
<aw-> oh you got it
<aw-> same as me
<Regenaxer> it is ^C in an error handler
<Regenaxer> yes
<Regenaxer> Never tried that
<aw-> great
<aw-> most difficult part is finding the problem ;)
<Regenaxer> the repl called in error
<Regenaxer> T
<Regenaxer> Great, I will debug that later
<aw-> ok thank you
<Regenaxer> Still debugging 'pool'
<Regenaxer> No, thanks for the report
<aw-> i tested a lot of my repos and everything else seems to worked as well
<aw-> even my code using (native)
<aw-> works without changes
<Regenaxer> Cool
<Regenaxer> good to know, as native is nasty
<aw-> yes i tried on my nanomsg FFI bindings, and on bcrypt with (native), all tests pass
<Regenaxer> wow
<aw-> well.. there could be bugs in my tests ;)
<aw-> haha
<Regenaxer> What happened?
<aw-> no it's a joke
<Regenaxer> a true joke, sadly ;)
<aw-> unit tests pass
<aw-> Regenaxer: what does this mean "Map functions accept atomic arguments"
<Regenaxer> : (mapcar + (1 2 3) 5)
<Regenaxer> -> (6 7 8)
<Regenaxer> This crashes on legacy pil
<Regenaxer> you needed (mapcar + (1 2 3) (5 .))
<aw-> oh ok
<aw-> wow nice
<aw-> so atomic arguments are converted to circular list?
<Regenaxer> I missed that sometimes
<Regenaxer> Not converted, but interpreted that way
<aw-> right
<Regenaxer> a list would be too expensive
<aw-> and what does this mean: "Lambda-binding environment offset for 'eval' and 'run' only for '@'" ?
<Regenaxer> You could do (eval Exe 1)
<Regenaxer> all local bindings were temporarily unwound
<Regenaxer> a very expensive operation
<Regenaxer> Now only '@' is unwound
<Regenaxer> So the 'prg' in an FEXPR can use it
<Regenaxer> (de f Prg (run Prg 1))
<Regenaxer> (and (xxx) (f (yyy @]
<Regenaxer> other bindings are no longer affected
<Regenaxer> You need a namespace to protect them
<Regenaxer> or use transients
<aw-> i see
<Regenaxer> The other mayor change is not supporting (arg)
<Regenaxer> (arg 2) is ok
<aw-> ok well this is exciting, particularly the native improvements
<aw-> oh your 'diff' doc doesnt mention the new shorthand (@
<Regenaxer> Which shorthand?
<Regenaxer> ah
<Regenaxer> yes, the exception for '@'
<Regenaxer> ah, no, it is there
<Regenaxer> - Lambda-binding environment offset for 'eval' and 'run' only for '@'
orivej has quit [Remote host closed the connection]
<Regenaxer> The doc/ref* files need a lot of fixes
<Regenaxer> Also the intro part
<Regenaxer> it is still for pil32
<Regenaxer> doc/ref.html I mean
orivej has joined #picolisp
<aw-> no no
<aw-> i mean
<aw-> didn't you add a shortcut for (native) ?
<Regenaxer> ah, right
<Regenaxer> (%@ "fun" ...
<Regenaxer> for (native "@" "fun" ...
<aw-> ah yes (%@
<beneroth> Regenaxer, so I can always have the offset argument, but it only has an effect for @ ?
<Regenaxer> beneroth, right
<beneroth> good
<beneroth> :)
<aw-> hi beneroth
<Regenaxer> '@' was in fact the original reason
<beneroth> hi aw- :)
<Regenaxer> so I unwound *all*
<Regenaxer> which was a bad idea in hindsight
<Regenaxer> it is very complicated and slow internally
<beneroth> well.. This would also be a candidate :)
<Regenaxer> especially if the calls are nested
<beneroth> on the other hand.. FEXRP methods are usually not such a clever idea anyway
<beneroth> Regenaxer, I see
<Regenaxer> yeah, methods
<Regenaxer> works though
<Regenaxer> in general FEXPRs are not good for functions to be called by other functions in a nested way
<Regenaxer> in such case 2 definitions are better
<Regenaxer> one EXPR, then a FEXPR stub calling it if needed
<Regenaxer> FEXPR is just a convenience to avoid quoting
<beneroth> T
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
mtsd has joined #picolisp
mtsd has quit [Remote host closed the connection]
mtsd has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
mtsd has quit [Quit: Lost terminal]
orivej has joined #picolisp
xkapastel has joined #picolisp
orivej has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
rob_w has quit [Read error: Connection reset by peer]