As a final note, I'd like to mention that even PHP grammar being quite
simple, it is light-years more complex (due to the lack of
standardization) than other languages.
You can compare this initial description I wrote to the Java
Specification and get your own conclusions:
http://java.sun.com/docs
Hi all,
PHP grammar is far from being complex. It is possible to describe most
of the syntax with a simple explanation.
Example:
* We can separate a program into several statements.
* There're a couple of items that cannot be declared into different
places (namespace, use), so consider them as to
> There has never been a language grammar, so there's been nothing to refer to
> at all. As for why no one's made one more recently, for fun I snagged the .l
> and .y files from trunk and W3C's version of EBNF from XML. In two hours of
> hacking away, I managed to come up with this sort-of begin
Hi!
Sorry for no attachments in previous message, I think my attachments
weren't redirected with message by lists.php.net email confirmation
system. I send them again, and for sure I attach links to public copy of
them over HTTP:
https://gist.github.com/761094 - php-5.3.4-hashtable-optimization.
On Dec 31, 2010, at 6:54 AM, Enrico Weigelt wrote:
>> After enviously looking at pythons grammar
>> (http://docs.python.org/dev/reference/grammar.html) I keep feeling
>> that PHP is missing out on a lot of interesting meta projects by not
>> having an official EBNF.
> ACK. PHP also misses a lot of