[racket] Metaprogramming with scheme
On Sat, Jun 19, 2010 at 10:00 AM, Valeriya Pudova
<valery at digitalchile.net> wrote:
> The easiest way to do this task can be: Just evaluate the file "a.ss" in the
> name space
> where are defined methods "define-fsm", "define-state", "on-event" and "go"
>
> But this case each of those methods will not have the syntax object of the
> evaluated expression.
> And in case if it will find and error it could not message about error's
> location.
Have you tried eval-syntax, instead of eval? I think that will keep
location information.
HTH,
N.