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)
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
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
> 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
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
> 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
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
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
8 matches
Mail list logo