-
Notifications
You must be signed in to change notification settings - Fork 25
Update php-parser to use latest version (2.0.0) #183
Comments
Hi @nevadascout, For your information, I've fixed last bugs and I will release the code under 0.1.2 this weekend. Actually tests pass over these frameworks : https://github.com/glayzzle/php-parser/blob/master/.gitmodules Tell me if you need to cover other frameworks, or I've missed a bug. |
Thanks @ichiriac 😄 |
Warning on backward compatibility, The next implementation will support comments as you can see here glayzzle/php-parser@54a4521 - So if you enable them with By default they are disabled, so the behavior should be the same as before. It's missing tests for publishing the new version, need about another week to fully implement nodes positions and comments. There is some issues with AST (they were here from always) as you can see here (https://travis-ci.org/glayzzle/php-parser/builds/179250360) - so need more fixes. I wish the next release to be solid rock with much less bugs so I can start to work on my other glayzzle project - I'll notify here when the release is published. |
FYI - 0.1.2 released 🎉 - many AST fixes done, now parsing AST correctly from any framework (including php7) A lot of bugs are related to this release |
Hi @nevadascout, I'm actually preparing a new library based on php-parser : https://github.com/glayzzle/php-reflection and I plan to move some code there. The idea behind this library is to enable code reflection like an in-memory database - far more easy to use than the plain array version. What it will do :
Moved code :
I've made the plain array version in order to parse as fast as possible with the least memory usage (for writing a transcripter) but for your project (and maybe others) is not enough easy to use directly. Stay tuned 😄 |
Sounds great! I look forward to seeing it! |
It starts to work but I've made a major release on php-parser(0.1.3) for this (a major bug on static instanciation - now it's using real prototyped instances) and remains commits. I will finish all library before releasing it. You can take a look at the API documentation here - and you can try it from The hard part is done, now remains the fun part of defining nodes 😄 |
Hi @nevadascout, I would like to chat with you about migrating crane. The php-reflection is functionnal and runs well, could correct major party of bugs here. Could you please tell me how I can help. |
Hey @ichiriac that sounds great! I've been pretty busy lately, but lets talk at some point this week about getting this done! Is Gitter the best place to talk? |
It's fine for me, I've already found your profile & tried to contact you by gitter 😄 - I'm online each night, so we can chat when you want. See u soon, Ioan |
Released in v0.3.0 |
No description provided.
The text was updated successfully, but these errors were encountered: