RE: [PHP-LANG] Approaching the First Draft [of a language spec]

From: Date: Tue, 21 Nov 2000 00:20:01 +0000
Subject: RE: [PHP-LANG] Approaching the First Draft [of a language spec]
References: 1  Groups: php.lang 
Request: Send a blank email to php-lang+get-41@lists.php.net to get a copy of this message
On Mon, 20 Nov 2000, Sterling Hughes wrote: > > I'm not sure how the end-user will be able to benefit from a > > list of syntactical rules. Can you elaborate what you have in > > mind? > > I find myself most often reading the source of PHP when I want an answer to > a question regarding syntax rather than going to the documentation. I think > it would be great for the end user to have a syntax sheet showing them what > is legal PHP and what isn't legally PHP as both a reference and as learning > tool. It also is a way of guaranteeing the users "this will work", this is > valid PHP syntax and this won't work, this is not valid syntax. So if I can see, the result of this project will be the zend_language_parser.y, stripped from all actions and constructs to make yacc happy. I think this is pretty useless if there is not given a semantical meaning for these rules. What do you have in mind about this Sascha (or give a small example of what you mean)? Derick

« previous php.lang (#41) next »