Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22312 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72679 invoked by uid 1010); 9 Mar 2006 23:26:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72664 invoked from network); 9 Mar 2006 23:26:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2006 23:26:27 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:44268] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C5/69-27106-2A9B0144 for ; Thu, 09 Mar 2006 18:26:27 -0500 Received: (qmail 13300 invoked from network); 9 Mar 2006 23:26:23 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 9 Mar 2006 23:26:23 -0000 Message-ID: <7.0.1.0.2.20060310012540.069f7be0@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Fri, 10 Mar 2006 01:26:20 +0200 To: Marcus Boerger Cc: Sara Golemon ,internals@lists.php.net In-Reply-To: <794761398.20060310001514@marcus-boerger.de> References: <7.0.1.0.2.20060309124054.06c31238@zend.com> <004701c6439b$8d6cd6b0$7d051fac@stumpy> <009701c643a1$2809bbc0$7d051fac@stumpy> <794761398.20060310001514@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Give the Language a Rest motion From: zeev@zend.com (Zeev Suraski) No speed boost with opcode caches, which will be bundled in PHP 6 :) Zeev At 01:15 10/03/2006, Marcus Boerger wrote: >Hello Sara, > > but if we were moving from flex to re2c for that tokenizing scripts we'd >get a nice speed boost, too. Typically re2c based scanners are 2 to 3 times >faster than lex based ones. And oh-re2c allows unicode scanning (2 byte >input) and you can use the same .re to generate two .c files if necessary. > >best regards >matcus > >Thursday, March 9, 2006, 6:44:45 PM, you wrote: > > >>> The inability to inject tokens and expressions into the lexer and > >>> parser is another limitation on what can be done from extensions in > >>> terms of syntax level features. Yes, I know this is more of a problem > >>> with bison and flex than with the design of ZE, but that doesn't make > >>> it any less bothersome. > >> > >> Do other compiler tools allow this? > >> > > I've heard second hand that lemon does. But I'm quite certain that > > rewriting the lexer/parser is not at the top of the list of > productive ways > > to advance the language. > > > -Sara > > > > >Best regards, > Marcus > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php