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
razzy has quit [Ping timeout: 240 seconds]
inara has quit [Quit: Leaving]
inara has joined #picolisp
xkapastel has joined #picolisp
aw- has quit [Quit: Leaving.]
razzy has joined #picolisp
aw- has joined #picolisp
rob_w has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
<Regenaxer> tankf33der: Now coroutine flow should be working. Not implemented completely yet is environment restore for local bindings, open files etc.
<tankf33der> ok
<Regenaxer> i.e. 'saveCoEnv' and 'loadCoEnv' must be extended later
<Regenaxer> Also, it assumes that the stack grows downwards
<Regenaxer> I don't know any architecture where it grows upwards though
<Regenaxer> In any case it is a compile time constant, STACK in src/defs.l
<Regenaxer> 'yield' also needs to check for reentrancy
<Regenaxer> and perhaps other things
<Regenaxer> in general stack overflows 'lim' and '$StkLimit'
<Regenaxer> But anyway, the basic stuff works I think. It was (besides 'native') the biggest open question for pil21
mtsd has joined #picolisp
<tankf33der> T
mtsd has quit [Remote host closed the connection]
<tankf33der> Regenaxer: FYI
<tankf33der> http://ix.io/270w
<Regenaxer> hmm, I get:
<Regenaxer> : (yield 1)
<Regenaxer> !? (yield 1)
<Regenaxer> No coroutines
<Regenaxer> which is correct
<Regenaxer> ah, enter
<Regenaxer> No, enter returns to top level, also correct
<Regenaxer> You have latest version?
<tankf33der> yes
<tankf33der> double Enter
<tankf33der> see ?
<Regenaxer> yes, works here
<Regenaxer> I get top level prompt after first enter
<tankf33der> let try LLVM7, was LLVM9
<Regenaxer> I think llvm version does not matter. Perhaps x86
mtsd has joined #picolisp
<tankf33der> llvm7 works. issue closed.
<tankf33der> :)
<Regenaxer> Error throwing to top level
<Regenaxer> I have LLVM9
<Regenaxer> on Termux
<Regenaxer> I think it is an error handler issue, not coroutine perhaps
<tankf33der> T
<Regenaxer> Wat if you do : (foo)
<Regenaxer> then enter
xkapastel has joined #picolisp
<tankf33der> ?
<tankf33der> version -- Open error: No such file or directory
<tankf33der> Segmentation fault (core dumped)
<tankf33der> ?
<tankf33der> also, how i get version line ?!
<Regenaxer> funny
<tankf33der> (foo) the same crash and version lines
<Regenaxer> so error exit
<tankf33der> # llvm-config --version
<tankf33der> 9.0.1
<tankf33der> (bye) works as expected :)
<Regenaxer> : (foo)
<Regenaxer> !? (foo)
<Regenaxer> ?
<Regenaxer> :
<Regenaxer> foo -- Undefined
<Regenaxer> :
<tankf33der> as is.
<Regenaxer> (bye) at the error prompt?
<Regenaxer> In any case, the (err) function is not finshed. Probablt (unwind) does not find the right envs and crashes. No worry :)
<tankf33der> http://ix.io/270z
<tankf33der> this works.
<Regenaxer> ok
<Regenaxer> yes, no stack unwind here
<Regenaxer> no problem
<Regenaxer> Must go, afp
f8l has quit [Ping timeout: 268 seconds]
f8l has joined #picolisp
olaf has joined #picolisp
olaf has left #picolisp [#picolisp]
rob_w has quit [Quit: Leaving]
olaf_h has joined #picolisp
beneroth has joined #picolisp
olaf_h has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
olaf_h has joined #picolisp
olaf_h has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mtsd has quit [Quit: Leaving]
beneroth has quit [Quit: Leaving]
xkapastel has quit [Quit: Connection closed for inactivity]
<tankf33der> i started writing url parser and found i already did it. so strange feeling of disappointment.
<tankf33der> and didnt submit to rosseta.
<tankf33der> in general style is mine:
<Regenaxer> :)
xkapastel has joined #picolisp