[plt-scheme] Macro Question

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Mon Apr 7 05:48:22 EDT 2003

--- Edwin Zacharias <ehz4 at yahoo.com> wrote:
> I'm trying to write a parser ...  Is there a
> way to do this using a safer syntax transformation? 

Why are you using macros to do this?  I think you'd
get the same results and a easier to understand code
if you used normal functions.  Unless you need
backtracking, parsing string ports (rather than
string) will remove the need for a cursor.


PS: You might be interesting in parser combinator
libraries.  Google will be happy to point out a few.

PPS: You migh also be interested in the parser and
lexer supplied with PLT Scheme.

Email: noelwelsh <at> yahoo <dot> com
Jabber: noelw <at> jabber <dot> org

Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

Posted on the users mailing list.