Search
Friday, 14th of February 2020, 1:58:12 UTC
2:24:51
drmeister
There is a recent update to piou - it indicates that it may be working with the latest ASDF.
2:59:25
drmeister
Bike: I hit a cst compiler problem...
2:59:26
drmeister
https://www.irccloud.com/pastebin/ypTHROoP/
2:59:43
drmeister
Quicklisp was loading :exscribe
3:00:32
Bike
do you have a backtrace?
3:01:11
Bike
it doesn't like something in https://github.com/melisgl/named-readtables/blob/master/src/cruft.lisp
3:01:35
drmeister
https://www.irccloud.com/pastebin/kOU6m0KU/
3:02:16
Bike
does (compile nil '(lambda () (progn))) signal an error?
3:02:52
Bike
how about (compile nil '(lambda () (eval-when (:execute))))
3:04:04
Bike
oh, no, it's in our evaluator
3:04:29
Bike
it means we can fix it without messing with cleavir
3:04:43
Bike
https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/cleavir/toplevel.lisp#L123-L129 yeah, i wrote this wrong
3:04:48
Bike
it assumes progns have only one form
3:05:18
Bike
uhh, test by doing (clasp-cleavir::simple-eval-cst (cst:cst-from-expression '(progn)) nil (lambda (&rest ignore)))?
3:05:45
drmeister
https://www.irccloud.com/pastebin/TRhNJ2qM/
3:08:14
Bike
we could instead write that loop as
3:08:16
Bike
(loop with result = nil for cstl = list-cst then (cst:rest cstl) do (setf result (recurse (cst:first cstl) env)) finally (return result))
3:08:25
Bike
i think that would work
3:58:15
drmeister
It doesn't build with that cchange
3:59:06
drmeister
https://www.irccloud.com/pastebin/MxHBY6jb/
3:59:44
Bike
oh, i forgot the end condition
4:00:05
Bike
throw "until (cst:null cstl)" in there i think
4:00:45
Bike
i think? i forget which order things go in
4:01:18
drmeister
https://www.irccloud.com/pastebin/Idj4gXN1/
4:01:53
Bike
yeah. also you can test it without rebuilding using something like the cst-from-expression form i did earlier.
4:05:28
drmeister
Sadly - it doesn't work
4:05:30
drmeister
https://www.irccloud.com/pastebin/8JUPHNfw/
4:06:50
drmeister
Moving the until up one and clearing old code and trying again.
4:07:05
drmeister
Probably should test (null cstl) before the do
5:25:31
beach
Good morning everyone!
5:40:53
drmeister
::notify kpoeck Thank you for that PR - I merged it and made a few additions of my own.
5:40:53
Colleen
drmeister: Got it. I'll let kpoeck know as soon as possible.
11:06:44
Colleen
kpoeck: drmeister said 5 hours, 25 minutes ago: Thank you for that PR - I merged it and made a few additions of my own.
11:07:25
kpoeck
drmeister: am building, will test this evening when back from work
13:39:00
drmeister
Bike: it looks like poiu might be a thing. Can you pull it and run the tests in sbcl to see how it works there?
13:40:17
drmeister
I added the support for it to clasp but it doesn’t compile things and I don’t have time to debug Asdf
13:40:40
drmeister
I added pipe, setpgrp
13:41:13
drmeister
And added a few other functions poiu needed
13:42:54
drmeister
Asdf and poiu try to load system files when it should be detecting that they aren’t there and compiling them and then loading them.
13:44:21
drmeister
This may be a bug in clasp not recognizing that they are not present or asdf uses an error signal from load to detect that the file isn’t available and we are signaling the wrong error
13:46:20
drmeister
I say that because if I continue from the error it compiles the file and then fails on a subsequent load of a file that isn’t there.
13:47:31
drmeister
I have no evidence that asdf/poiu are using fork or waitpid or alll that good stuff that would speed up and parallelize building.
13:48:51
drmeister
The example that fare provides for point testing is a complicated one that messes with readtables and it reveals another problem.
13:49:28
drmeister
Our eclector.readtables:readtablep doesn’t have a default method that returns nil.
13:49:31
Bike
it's possible we're signaling simple errors when we should be signaling file errors
13:52:08
drmeister
Continuing: so readtablep fails if the arg is not a readtable rather than returning nil
13:53:15
drmeister
This should be easy to fix. We can add a method in our cleavir code.
13:54:02
drmeister
But we can compare sbcl with poiu to clasp
Friday, 14th of February 2020, 13:58:12 UTC