Re: [racket-dev] [plt] Push #23408: master branch updated

2011-09-01 Thread Sam Tobin-Hochstadt
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


Re: [racket-dev] [plt] Push #23408: master branch updated

2011-08-31 Thread Eli Barzilay
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?

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev