Re: [PHP-DEV] [RFC][DISCUSSION] Context Sensitive lexer

2015-02-22 Thread Marcio Almada
Hi, Stas 2015-02-22 19:20 GMT-03:00 Stanislav Malyshev : > Hi! > > 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 pr

Re: [PHP-DEV] [RFC][DISCUSSION] Context Sensitive lexer

2015-02-22 Thread 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

Re: [PHP-DEV] [RFC][DISCUSSION] Context Sensitive lexer

2015-02-21 Thread Marcio Almada
Hi, Nikita 2015-02-20 9:26 GMT-03:00 Nikita Popov : > > I think we all agree that it would be nice to not be so strict about > reserved keywords in some places. As such this RFC hinges on questions of > implementation. > > The RFC uses a purely lexer-based approach, which is nice in principle, >

Re: [PHP-DEV] [RFC][DISCUSSION] Context Sensitive lexer

2015-02-20 Thread Nikita Popov
On Fri, Feb 20, 2015 at 8:29 AM, Marcio Almada wrote: > Hi internals, > > I'd like to put the "Context Sensitive Lexer" RFC into discussion phase: > > RFC: https://wiki.php.net/rfc/context_sensitive_lexer > TL;DR commit: https://github.com/marcioAlmada/php-src/commit/c01014f9 > PR: https://github