orivej has quit [Ping timeout: 260 seconds]
Blue_flame has quit [Remote host closed the connection]
Blue_flame has joined #picolisp
<
Regenaxer>
Further reduction:
<
Regenaxer>
(let A 1 (co 'b (yield 2)))
<
Regenaxer>
(yield 3) )
<
Regenaxer>
i.e. when a coroutine is started in another coroutine, with non-empty binding(s)
<
tankf33der>
morning
<
Regenaxer>
Hi tankf33der
aw- has joined #picolisp
orivej has joined #picolisp
mtsd has joined #picolisp
mtsd has quit [Quit: mtsd]
mtsd has joined #picolisp
Blue_flame has quit [Quit: killed]
Blue_flame has joined #picolisp
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
mtsd has quit [Quit: mtsd]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
aw- has quit [Quit: Leaving.]
orivej has joined #picolisp
<
Regenaxer>
tankf33der: I released new coroutines
<
Regenaxer>
Looks better now, though I'm not sure if it is totally correct
<
Regenaxer>
Stack management is still missing
<
tankf33der>
will play and report
<
Regenaxer>
Now I also added stack limits and runtime checks
<
Regenaxer>
What is still missing is freeing stack semgents after a coroutine finished. Not so important atm
<
Regenaxer>
Probably still some bugs
<
Regenaxer>
Lets first find and fix them
<
tankf33der>
worse than today.
<
tankf33der>
none of code is working
<
tankf33der>
powers too.
<
tankf33der>
even this broken and worked today:
<
tankf33der>
#(test 7 (co 'aa (yield 7)))
<
tankf33der>
(test 7 (co 'aa (yield 7)))
<
Regenaxer>
I ran the powers test
<
Regenaxer>
yes, works
<
Regenaxer>
'aa' works too
<
tankf33der>
everything co is crashes.
<
tankf33der>
every co is crashes.
<
Regenaxer>
error message?
<
tankf33der>
just crash.
<
Regenaxer>
I try x86
<
Regenaxer>
crashes
<
tankf33der>
first collision, i thought my fault :)
<
Regenaxer>
I tested only on Android
<
Regenaxer>
Debugging
<
Regenaxer>
Stack arithmetics do not work
<
Regenaxer>
But they worked before I think
<
Regenaxer>
Found it
<
tankf33der>
should i wait something today?
<
Regenaxer>
It worked only by lucky coincidence
<
Regenaxer>
yes, 2 min
<
Regenaxer>
testing
<
Regenaxer>
Should work now
<
Regenaxer>
I took the address of an 'alloc'ed memory instead of the stack
<
Regenaxer>
Somehow it worked on arm64
<
tankf33der>
huge progress.
<
tankf33der>
crash after 8th test.
<
tankf33der>
thread ring
<
Regenaxer>
short one
<
Regenaxer>
OK, will study tomorrow
<
Regenaxer>
Thanks!
<
tankf33der>
cartesian product on coroutines crashes too, but tomorrow.
<
tankf33der>
no hurry.
<
tankf33der>
sleep.
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp