Re: [PHP-DEV] Re: Creating an experimental syntax

2009-10-17 Thread Etienne Kneuss
Hello, On Sat, Oct 17, 2009 at 4:22 PM, Rune Kaagaard wrote: > Dear Internals > > So I'm making good progress and found out that making simple syntax > changes is quite easy. What I currently got working can be seen here: > http://code.google.com/p/php-alternative-syntax/source/browse/trunk/scrip

Re: [PHP-DEV] Re: Creating an experimental syntax

2009-10-14 Thread Rune Kaagaard
Dear Etienne Wauw did not know Backus–Naur Form before. That looks like a great first step. Thx for showing me that! Cheers Rune Kaagaard Denmark On 10/14/09, Etienne Kneuss wrote: > Hello, > > On Wed, Oct 14, 2009 at 1:37 PM, Etienne Kneuss wrote: >> Hello, >> >> one problem that immediately

Re: [PHP-DEV] Re: Creating an experimental syntax

2009-10-14 Thread Etienne Kneuss
Hello, On Wed, Oct 14, 2009 at 1:37 PM, Etienne Kneuss wrote: > 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 g

Re: [PHP-DEV] Re: Creating an experimental syntax

2009-10-14 Thread Etienne Kneuss
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, 20

Re: [PHP-DEV] Re: Creating an experimental syntax

2009-10-11 Thread Alexey Zakhlestin
On 11.10.2009, at 1:34, Rune Kaagaard wrote: Dear Internals At the moment I'm very inspired by functional programming languages such as SML and especially scala. I would like to create and alternative PHP syntax, just for fun nothing serious, inspired by these languages. I've managed to compil