On Thu, Sep 1, 2011 at 3:13 AM, Eli Barzilay <e...@barzilay.org> wrote: > 8 hours ago, Sam Tobin-Hochstadt wrote: >> On Wed, Aug 31, 2011 at 1:51 PM, Eli Barzilay <e...@barzilay.org> wrote: >> > An hour ago, sa...@racket-lang.org wrote: >> >> +Modified to use `syntax-parse' and multiple macros by Sam >> >> +Tobin-Hochstadt, 2011. >> > >> > AFAICT, you're not using anything that `synatx-rules' can't do, so >> > what's the point? >> >> Better error messages, hopefully. > > Um, but you didn't do that:
Indeed, the error messages could be improved in lots of ways -- I just took the reference implementation and improved it in the most obvious ways. I had hoped that things like the following would get better errors from `syntax-parse' automatically: -> (let-values) -> (let-values 3 4 5 6) -> (let-values (3 . 4) 3 4 5) But they didn't, unfortunately. I don't know if Ryan will change that ever. If there was something between `syntax-parser' and `define-simple-macro', that would be the right tool here. -- sam th sa...@ccs.neu.edu _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev