unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Syntax-Case Macros for PEG Parser
@ 2010-07-16 23:53 Michael Lucy
  0 siblings, 0 replies; only message in thread
From: Michael Lucy @ 2010-07-16 23:53 UTC (permalink / raw)
  To: guile-devel

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-16 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 23:53 Syntax-Case Macros for PEG Parser Michael Lucy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).