[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Syntax-Case Macros for PEG Parser

From: Michael Lucy
Subject: Syntax-Case Macros for PEG Parser
Date: Fri, 16 Jul 2010 18:53:46 -0500

I'm still working on this.  I haven't dropped off the face of the
earth; it's just taking a bit.  The way I wrote the original
define-macro macros, they called some functions (passing in symbol
names) to generate blocks of code.  This technique essentially depends
on variable capture, so I can't really do it with syntax-case (at
least not without twisting things into an obscene shape).

Anyway, the transformations aren't terribly difficult, they just
involve a lot of hand-rewriting to turn all the function calls into
actual macro expansions.  I think I'll be done reasonably soon.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]