Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22297 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43758 invoked by uid 1010); 9 Mar 2006 17:41:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43743 invoked from network); 9 Mar 2006 17:41:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2006 17:41:41 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:1347] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C9/9B-27106-4D860144 for ; Thu, 09 Mar 2006 12:41:40 -0500 Received: from localhost ([127.0.0.1] helo=stumpy) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1FHOaO-0004gf-00 for internals@lists.php.net; Thu, 09 Mar 2006 09:06:00 -0800 Message-ID: <009701c643a1$2809bbc0$7d051fac@stumpy> To: References: <7.0.1.0.2.20060309124054.06c31238@zend.com> <004701c6439b$8d6cd6b0$7d051fac@stumpy> Date: Thu, 9 Mar 2006 09:44:45 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Give the Language a Rest motion From: pollita@php.net ("Sara Golemon") >> 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