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/scripts/kitchensink.php.
However, making functionality changes still
Hello,
On Sat, Oct 17, 2009 at 4:22 PM, Rune Kaagaard rumi...@gmail.com 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:
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
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,
Hello,
On Wed, Oct 14, 2009 at 1:37 PM, Etienne Kneuss col...@php.net 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
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 col...@php.net wrote:
Hello,
On Wed, Oct 14, 2009 at 1:37 PM, Etienne Kneuss col...@php.net wrote:
Hello,
one
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Dear Internals
Ok... So i figured out that the way to make a scala style multi line
function declaration was simply to do this:
### zend_language_parser.y ###
unticked_function_declaration_statement:
function is_reference T_STRING {
zend_do_begin_function_declaration($1, $3, 0,
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
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 compile PHP with debug stuff turned
on and found some
10 matches
Mail list logo