On Sat, Oct 1, 2011 at 7:43 AM, Hendrik Boom <hend...@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. Robby _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users