Re: [racket] Improvement of a syntax-parse syntax class definition

2014-06-29 Thread Jens Axel Søgaard
Hi Alexander, That's a very nice solution! Now we just need to lobby for pattern expanders to appear in the official syntax-parse! /Jens Axel 2014-06-27 5:55 GMT+02:00 Alexander D. Knauth : > Well, I made my own modified version of syntax/parse that lets you define > ~separated as a pattern-e

Re: [racket] Improvement of a syntax-parse syntax class definition

2014-06-26 Thread Alexander D. Knauth
Well, I made my own modified version of syntax/parse that lets you define ~separated as a pattern-expander that let’s you do this: #lang racket (require (for-syntax syntax-parse-with-pattern-expanders (for-syntax racket/base))) (begin-for-syntax (define-splicing-syntax-clas