Is it compile-time or run-time errors?
Mostly module-instantiation-time errors, which are closer to run-time
errors.
As a simple example, consider syntactically correct DSL code that
expands to
(define foo (first '()))
The call to first raises an exception, which is displayed without any
reference to the original DSL code, and is therefore incomprehensible
to the DSL's users.
I believe the DSL code should expand to syntax objects that do keep the
reference to the original DSL code.
It they do, the Racket's runtime error trace tool will trace the error
up to the DSL (though it may show to user some Racket code in the way).
As an example of a DSL parser that attaches source information to syntax
objects it generates, you can look e.g. at [1], see b-syn macro.
Sorry for the noise if I am just misunderstanding the whole question.
Best regards,
Dmitry
[1]
http://planet.racket-lang.org/package-source/wrturtle/pyret.plt/1/2/bsl/parse.rkt
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.