Re: [RFC][DISCUSSION] Context Sensitive lexer
| From: | Stanislav Malyshev | Date: | Sun, 22 Feb 2015 22:20:52 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Context Sensitive lexer | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83494@lists.php.net to get a copy of this message | ||
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