[racket] Looking for awk examples

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Oct 1 08:45:53 EDT 2011

On Sat, Oct 1, 2011 at 7:43 AM, Hendrik Boom <hendrik at topoi.pooq.com> wrote:
> On Thu, Sep 29, 2011 at 03:11:54PM -0400, Danny Yoo wrote:
>> (...) I don't think
>> Racket has an "sre" library to support the writing regexps with
>> s-expressions.
> Which, for me, raises the question whether there are any tools that
> do pattern matching like regexps written with s-expressions applied to
> s-expressions instead of strings.
> Or maybe grammar formalisms that reparse s-expressions instead of
> strings.

Redex has support for working with tree grammars. You can define a
grammar and then use redex-match to match things against it.


Posted on the users mailing list.