00:04
razzy has quit [Ping timeout: 240 seconds]
03:22
inara has quit [Quit: Leaving]
03:35
inara has joined #picolisp
03:40
xkapastel has joined #picolisp
03:41
aw- has quit [Quit: Leaving.]
04:13
razzy has joined #picolisp
04:59
aw- has joined #picolisp
07:14
rob_w has joined #picolisp
07:19
xkapastel has quit [Quit: Connection closed for inactivity]
09:54
<
Regenaxer >
tankf33der: Now coroutine flow should be working. Not implemented completely yet is environment restore for local bindings, open files etc.
09:55
<
Regenaxer >
i.e. 'saveCoEnv' and 'loadCoEnv' must be extended later
09:55
<
Regenaxer >
Also, it assumes that the stack grows downwards
09:56
<
Regenaxer >
I don't know any architecture where it grows upwards though
09:56
<
Regenaxer >
In any case it is a compile time constant, STACK in src/defs.l
10:05
<
Regenaxer >
'yield' also needs to check for reentrancy
10:05
<
Regenaxer >
and perhaps other things
10:09
<
Regenaxer >
in general stack overflows 'lim' and '$StkLimit'
10:10
<
Regenaxer >
But anyway, the basic stuff works I think. It was (besides 'native') the biggest open question for pil21
10:21
mtsd has joined #picolisp
10:30
mtsd has quit [Remote host closed the connection]
10:30
<
tankf33der >
Regenaxer: FYI
10:31
<
Regenaxer >
hmm, I get:
10:31
<
Regenaxer >
: (yield 1)
10:31
<
Regenaxer >
!? (yield 1)
10:31
<
Regenaxer >
No coroutines
10:32
<
Regenaxer >
which is correct
10:32
<
Regenaxer >
ah, enter
10:33
<
Regenaxer >
No, enter returns to top level, also correct
10:33
<
Regenaxer >
You have latest version?
10:33
<
tankf33der >
double Enter
10:33
<
Regenaxer >
yes, works here
10:34
<
Regenaxer >
I get top level prompt after first enter
10:34
<
tankf33der >
let try LLVM7, was LLVM9
10:35
<
Regenaxer >
I think llvm version does not matter. Perhaps x86
10:35
mtsd has joined #picolisp
10:35
<
tankf33der >
llvm7 works. issue closed.
10:35
<
Regenaxer >
Error throwing to top level
10:35
<
Regenaxer >
I have LLVM9
10:35
<
Regenaxer >
on Termux
10:36
<
Regenaxer >
I think it is an error handler issue, not coroutine perhaps
10:36
<
Regenaxer >
Wat if you do : (foo)
10:36
<
Regenaxer >
then enter
10:36
xkapastel has joined #picolisp
10:36
<
tankf33der >
version -- Open error: No such file or directory
10:36
<
tankf33der >
Segmentation fault (core dumped)
10:37
<
tankf33der >
also, how i get version line ?!
10:37
<
tankf33der >
(foo) the same crash and version lines
10:37
<
Regenaxer >
so error exit
10:37
<
tankf33der >
# llvm-config --version
10:37
<
tankf33der >
(bye) works as expected :)
10:38
<
Regenaxer >
: (foo)
10:38
<
Regenaxer >
!? (foo)
10:38
<
Regenaxer >
foo -- Undefined
10:38
<
tankf33der >
as is.
10:38
<
Regenaxer >
(bye) at the error prompt?
10:40
<
Regenaxer >
In any case, the (err) function is not finshed. Probablt (unwind) does not find the right envs and crashes. No worry :)
10:40
<
tankf33der >
this works.
10:40
<
Regenaxer >
yes, no stack unwind here
10:41
<
Regenaxer >
no problem
10:41
<
Regenaxer >
Must go, afp
11:15
f8l has quit [Ping timeout: 268 seconds]
11:25
f8l has joined #picolisp
12:07
olaf has joined #picolisp
12:12
olaf has left #picolisp [#picolisp]
12:26
rob_w has quit [Quit: Leaving]
12:36
olaf_h has joined #picolisp
12:40
beneroth has joined #picolisp
12:47
olaf_h has joined #picolisp
13:40
mtsd has quit [Quit: Leaving]
14:27
beneroth has quit [Quit: Leaving]
16:25
xkapastel has quit [Quit: Connection closed for inactivity]
20:27
<
tankf33der >
i started writing url parser and found i already did it. so strange feeling of disappointment.
20:32
<
tankf33der >
and didnt submit to rosseta.
20:33
<
tankf33der >
in general style is mine:
23:05
xkapastel has joined #picolisp