Re: PGE, namespace'd rules.

2005-06-12 Thread Patrick R. Michaud
On Sun, Jun 12, 2005 at 12:57:56PM +0200, Chip Salzenberg wrote: > On Fri, Jun 10, 2005 at 05:18:19PM -0400, William Coleda wrote: > > Looking through the PGE test examples, it *looks* like subrules are just > > globals. > > I'm sure that's not how it'll behave when it's done, though I don't > kn

Re: PGE, namespace'd rules.

2005-06-12 Thread Chip Salzenberg
On Fri, Jun 10, 2005 at 05:18:19PM -0400, William Coleda wrote: > Looking through the PGE test examples, it *looks* like subrules are just > globals. I'm sure that's not how it'll behave when it's done, though I don't know PGE well enough yet to suggest how it will work exactly. In the meantime,

PGE, namespace'd rules.

2005-06-10 Thread William Coleda
Looking through the PGE test examples, it *looks* like subrules are just globals. (so, if I refer to in a rule, there should be a Match object in a global named "frob") e.g., from the PIR code generated for the phone test: name = "digits" subpat = "\\d+" rul