Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66162 invoked from network); 22 Feb 2015 22:20:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2015 22:20:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:37500] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/58-18531-9465AE45 for ; Sun, 22 Feb 2015 17:20:57 -0500 Received: by pabrd3 with SMTP id rd3so22634204pab.4 for ; Sun, 22 Feb 2015 14:20:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZSBEtdUqBPqdTFMrE6uECC9SJSfKxEmggRPRR1q295Q=; b=fr8VUtqeg2pj3k6gjt+o+YFSGkbHinGau3Zm7FQhqGTN08P66UAB39Ix38SWA3iMIM EdcwHB6wkKwuG0+yBDCrl+tsJN4gGKRFAP1ti/3NNjBDL/qJ/V8seXXl0QZb1BBfsFoH vKp57JikUETWNNLZ+d1Cb9zLWB3Aqlu6qe1icrPf73/Xny6j+8wStvuY/GbO9NxFSaXC C3/ekzg/B1BV5pEtURpNbZAl22zHEMCXvizhAOsYnQ2vInFEBC/m71pDzaYI5jo+VG3I 2M3nhd5B8nDWlkzQ+6QPIks4bRFA9W3gStS5v7KxGk0Sba2eUIQROIkq26FaKdNSxrIO Jgeg== X-Received: by 10.68.102.194 with SMTP id fq2mr13759450pbb.99.1424643654033; Sun, 22 Feb 2015 14:20:54 -0800 (PST) Received: from [192.168.2.145] (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id ei3sm32626842pbc.91.2015.02.22.14.20.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 14:20:53 -0800 (PST) Message-ID: <54EA5644.1090404@gmail.com> Date: Sun, 22 Feb 2015 14:20:52 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: marcio3w@gmail.com, PHP internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Context Sensitive lexer From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > RFC: https://wiki.php.net/rfc/context_sensitive_lexer > TL;DR commit: https://github.com/marcioAlmada/php-src/commit/c01014f9 > PR: https://github.com/php/php-src/pull/1054 I like the idea. But we need to examine the cases carefully so we don't block some future routes - especially this is with regards to such things as type names which we wanted to reserve. I.e. method names resolution is probably clear, since they appear after -> or ::, but for class names the context may be much more varied. -- Stas Malyshev smalyshev@gmail.com