On 11/6/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> First, for null input, PGE (and p6rules) will likely parse this
> by returning a Match object indicating "false", and attempting
> to compile that object will probably return a null subroutine.
Yes, that sounds sane.
> The other case is
On Sat, Nov 05, 2005 at 11:45:02PM +0100, Autrijus Tang wrote:
> I noticed that zero-length input is now rejected by ; I tried
> to fix it, but could not determine where the fix should go. A trace is
> listed below:
>
> compilers/pge$ echo 'rule ' | parrot demo.pir
> Missing term at offset 0
On 11/4/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
> As a quick example, one can now use the subrule
> to parse a perl 6 rule expression, and the Match object
> that is returned contains the parse tree. Other examples
> and demonstrations or parsing are in the examples/pge/
> directory.
p
We're long overdue for a status update on the grammar engine
(aka PGE), so here's a quick summary of recent changes and
improvements. My thanks go out to many people on irc #parrot
who have been helping with testing and feature implementations,
and especially particle for the incredible tests he's