[racket] define-syntax-class
2011/4/27 Nadeem Abdul Hamid <nadeem at acm.org>:
> What am I missing in the code below (reproduced from the "Fortifying
> Macros" paper)? When run, this gives me an error: "syntax-parse: not
> defined as syntax class in: binding". If I move the syntax class
> definition into the bodies of define-syntax, then it works, but that
> defeats the purpose of being able to define a reusable syntax class...
You'll need to move the syntax class definition into a separate
module, and then `require' that module `for-syntax'.
--
sam th
samth at ccs.neu.edu