Re: [RFC][Discussion] Parser extension API
| From: | Alexander Lisachenko | Date: | Tue, 26 Apr 2016 08:38:21 +0000 |
| Subject: | Re: [RFC][Discussion] Parser extension API | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92770@lists.php.net to get a copy of this message | ||
2016-04-26 11:15 GMT+03:00 Nikita Popov <nikita.ppv@gmail.com>:
> As an update here, I plan to create an RFC for bundling the php-ast
> extension (maybe with minor modifications) with php-src. This was planned
> for 7.1 anyway, and with the annotations RFC under discussion, this seems
> like a good time.
>
...
>
I'll try to post an RFC for review this week.
>
Hello, Nikita!
It's a great news! Having this stuff in the 7.1 core is awesome!
But I have several petitions for this API:
1) Could it avoid using of raw functions for parsing API, like
ast\parse_file or ast\parse_code
2) Could you please put all the parsing stuff into the
Parser class and
put it into the Php\ namespace, as well with node classes?