Isn't that sort of what the flex/lex/bison/yacc family of tools does? Why reinvent this particular wheel?
(I can think of one reason right off the top of my head, but it isn't a particularly good one: to use Perlish regexes instead of egrep-style regexes. Any others?)
--In reply to Re: Parser Generation and Regeneration
by FoxtrotUniform
in thread Parser Generation and Regeneration
by hsmyers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |