Re: Re: Creating an experimental syntax
| From: | Etienne Kneuss | Date: | Wed, 14 Oct 2009 11:37:36 +0000 |
| Subject: | Re: Re: Creating an experimental syntax | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45809@lists.php.net to get a copy of this message | ||
Hello,
one problem that immediately pops out is that you have a parsing
ambiguity between an argument list and a concatenation of strings as a
single argument.
You should start by producing a BFN version of your desired grammar.
Such errors should then be more apparent.
Best,
On Wed, Oct 14, 2009 at 1:15 PM, Rune Kaagaard <rumi.kg@gmail.com> wrote:
> Dear internals
>
> I'm slowly getting to know more about bison and language parsing. A
> new world for me. But progress is still slow. I have made an example
> of the syntax I am looking to achieve at
> http://code.google.com/p/php-alternative-syntax/ . If any of
> you c
> gurus could help me with the best method to attack the problem I would
> be very grateful!
>
> Cheers
> Rune Kaagaard
> Denmark
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Etienne Kneuss
http://www.colder.ch