Re: [racket-users] Producing syntax from a submodule

2017-02-01 Thread Alexis King
Syntax templates used in syntax transformers are effectively at “phase -1” relative to the phase they are defined at. For that reason, you need to insert a for-template require in your utils submodule: (module utils racket (require (for-template racket/base)) (provide bar-impl)

[racket-users] Producing syntax from a submodule

2017-02-01 Thread Milo Turner
Hello, I'm new to writing #lang s-expr languages in Racket and I'm having trouble understanding what's going wrong. I've re-provided the essential syntax transformers and then defined a macro, and this works fine: > lang.rkt #lang racket (provide #%module-begin #%app #%datum

Re: [racket-users] DrRacket debugger

2017-02-01 Thread Robby Findler
I tried to use this program to break things: #lang racket (begin-for-syntax (sleep 5)) (+ 1 2) which should behave something like what you're saying and might give an opportunity for a race in the GUI to appear, but that didn't seem to do it for me. I'll keep my eyes open, tho. I may just not

Re: [racket-users] Can’t get `raco setup --mode errortrace` to work

2017-02-01 Thread Alexis King
> On Feb 1, 2017, at 3:02 PM, Dan Liebgold > wrote: > > Actually I mean -j to racket.exe, as in --no-jit (for your last > invocation) Ah! Unfortunately, no, that does not help; the errortrace instrumentation never actually gets inserted at all when doing a parallel

Re: [racket-users] Can’t get `raco setup --mode errortrace` to work

2017-02-01 Thread Dan Liebgold
On Wednesday, February 1, 2017 at 11:52:22 AM UTC-8, Alexis King wrote: > > Yes, good suggestion; it seems like maybe --mode doesn’t work with > the parallel build. However, using -j 1 produces an error: > Actually I mean -j to racket.exe, as in --no-jit (for your last invocation) -- You

Re: [racket-users] Can’t get `raco setup --mode errortrace` to work

2017-02-01 Thread Alexis King
> On Feb 1, 2017, at 10:45 AM, Dan Liebgold wrote: > > Out of curiosity, does the -j option help here? Yes, good suggestion; it seems like maybe --mode doesn’t work with the parallel build. However, using -j 1 produces an error: $ raco setup -j 1 --mode

Re: [racket-users] implementing make in racket

2017-02-01 Thread Dan Liebgold
On Wednesday, November 30, 2016 at 10:38:05 AM UTC-8, Jay McCarthy wrote: > The typed-racket code returns a value from the job, whereas this code > assumes the job is fully self-contained. Perhaps job-queue should > protect itself from job exceptions. > BTW, how would you recommend returning a

[racket-users] Re: Can’t get `raco setup --mode errortrace` to work

2017-02-01 Thread Dan Liebgold
On Tuesday, January 31, 2017 at 10:52:38 PM UTC-8, Alexis King wrote: > > $ racket -l errortrace -l test-pkg > qux: kaboom! > errortrace...: > Out of curiosity, does the -j option help here? -- You received this message because you are subscribed to the Google Groups "Racket