Re: PHP5 Parser Generator
| From: | nicos@php.net | Date: | Thu, 18 Sep 2003 07:31:14 +0000 |
| Subject: | Re: PHP5 Parser Generator | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21691@lists.php.net to get a copy of this message | ||
"Arjen Brouwer" <arjenjb@quicknet.nl> a écrit dans le message de
news:000401c37d71$ffb3dd60$0300a8c0@Bert...
> I tried to write the parser generator in PHP4 but due the way objects are
> handled, it's almost impossible to create datastructures. The way objects
> are handled in PHP5 allowed me to create the parser. And the static
members
> are also a huge advantage.
Even if PHP4 objects handlers are really the best, I really doubt that you
can't use it to create your datastructures. Can you show any example?
>
> Cheers,
> A
>
>
> ----- Original Message -----
> From: "Alan Knowles" <alan@akbkhome.com>
> To: "Arjen Brouwer" <arjenjb@quicknet.nl>
> Cc: <pear-dev@lists.php.net>
> Sent: Tuesday, September 16, 2003 4:46 AM
> Subject: Re: [PEAR-DEV] PHP5 Parser Generator
>
>
> > Care to expand on that:
> >
> > You have re-written the Generator in PHP5,
> > or you have modified the generator to generate PHP5 code? (or both)
> >
> > Regards
> > Alan
> >
> >
> > Arjen Brouwer wrote:
> >
> > >Hi!
> > >
> > >I ported the Lemon Parser Generator to PHP5. Lemon is the Parser
> Generator written by the author of SQLite, it's a LALR(1) context free
> parser.
> > >I'd like an PEAR account to manage it as a package.
> > >
> > >Cheers,
> > >Arjen Brouwer
> > >
> > >
> >
> >