spall
2017-2-17 16:37:13

@spall has joined the channel


spall
2017-2-17 16:38:19

@mflatt I ran racket-test-core/tests/racket/optimize.rktl and the test is failing


spall
2017-2-17 16:38:22

(#<procedure:go>) ==> #t optimize.rktl:4897:8: match: syntax error in pattern in: (linkl-bundle t) location...: optimize.rktl:4897:8 context...: do-raise-syntax-error /home/spall/plt/racket-spall/racket/collects/racket/match/gen-match.rkt:55:23: for-loop /home/spall/plt/racket-spall/racket/collects/racket/match/gen-match.rkt:54:11: mk /home/spall/plt/racket-spall/racket/collects/racket/match/gen-match.rkt:45:9: for-loop /home/spall/plt/racket-spall/racket/collects/racket/match/../../syntax/parse/private/parse.rkt:995:13: dots-loop /home/spall/plt/racket-spall/racket/collects/racket/match/gen-match.rkt:23:0: go


spall
2017-2-17 16:38:49

I’m not sure if one of my two changes yesterday caused this.


spall
2017-2-17 16:39:24

Any idea?


mflatt
2017-2-17 16:39:52

Just to make sure, "/home/spall/plt/racket-spall/" is a linklet build, not a main-branch build?


spall
2017-2-17 16:40:12

yes.


spall
2017-2-17 16:40:14

It should be


mflatt
2017-2-17 16:40:24

I’m not seeing the error, but I haven’t tried a 100% fresh build, so I can try that


spall
2017-2-17 16:40:58

maybe mines not up to date


mflatt
2017-2-17 16:41:13

Just to check, what does /home/spall/plt/racket-spall/racket/bin/raco pkg show compiler-lib say?


mflatt
2017-2-17 16:42:08

Sorry - make that zo-lib instead of compiler-lib


spall
2017-2-17 16:44:18
 [none]
User-specific for installation "6.8.1.4":
 Package[*=auto]  Checksum              Source
 zo-lib*          9098b398716b2f22b...  catalog...kgs/zo-lib

mflatt
2017-2-17 16:47:06

Ok, that’s a problem. Maybe this build was set up before the “zo-lib” package was moved back into the Racket repo.


mflatt
2017-2-17 16:47:41

A fresh build should fix the problem, or maybe raco pkg remove -f zo-lib compiler-lib compiler-doc compiler followed by make


mflatt
2017-2-17 16:47:49

(beware that I didn’t try running any of that!)


mflatt
2017-2-17 16:48:17

The output should be more like this: laptop% ~/linklet/racket/bin/raco pkg show zo-lib Installation-wide: Package[*=auto] Checksum Source zo-lib* static-link /Users/mflatt/linklet/pkgs/zo-lib


mflatt
2017-2-17 16:48:24

with static-link instead of catalog


spall
2017-2-17 16:55:51

Ah. yesterday when I built this I only tried to install the future-visualizer package, which installed a lot of other dependencies (obviously). The process was killed by the OS before all the setup finished, maybe that is what caused this. I didn’t worry about it at the time because the package installed and I was able to run my code


sabauma
2017-2-17 18:38:26

@mflatt: Is there a way to view the output of the closure compiler that you mentioned?


sabauma
2017-2-17 18:44:05

Say, to provide sample regexps and view the generated code.


mflatt
2017-2-17 21:13:02

@sabauma It’s a “closure compiler” in the sense that it generates closures, which are not so easy to inspect


mflatt
2017-2-17 21:13:43

You could change “compile.rkt” to add backquotes and unquotes


samth
2017-2-17 22:26:21

@mflatt is it possible to get chez to produce stack traces?


samth
2017-2-17 22:26:47

I successfully compiled the expander (I think) but it errors with “Exception: returned two values to single value return context” with no further information


mflatt
2017-2-17 23:15:36

The expander compiles for me, too, but many things will prevent it from running


mflatt
2017-2-17 23:16:16

Chez provides inspection facilities that will support stack-trace reporting, but I haven’t tried to write it, yet