Comments (7)
It's on PECL now.
Perhaps, this isue can be closed?
from php-ast.
I believe the idea is to publish it on composer for the utility functions in https://github.com/nikic/php-ast/blob/master/util.php and the stubs in https://github.com/nikic/php-ast/blob/master/ast_stub.php. Though for the latter, it might make more sense to add this extension to https://github.com/JetBrains/phpstorm-stubs, which is whether most tooling sources their stubs from.
from php-ast.
I'd like to bump this and even suggest that maybe PECL would be a good option. I 100% support the efforts of #5 but until that gets more traction this should be pursued. That's just my opinion, but I think there's a huge benefit to having easier access to this extension.
With testing environments like gitlabci, travis and etc PECL would make this a lot easier to run automated tests with tools required ext-ast. If distributing that with composer is an option as well then I would support that one too! Looking forward to any info on this or any updates.
I'd be happy to assist with getting this into Composer or PECL if that would make it easier to get this moving!
from php-ast.
IMHO, this is not a PHP package per se and it shouldn't be published on packagist.
from php-ast.
@drupol I think the intent of this was to have easier access - per my comment PECL made more sense though. Now that' it's on PECL this could probably be closed for either: a) being fulfilled, or b) for not being the proper route.
from php-ast.
All good then, @nikic I think you can close this one.
from php-ast.
@nikic https://github.com/phan/phan/blob/2.6.0/src/Phan/Language/Internal/ConstantDocumentationMap.php#L80 has some stub descriptions already written for the constants declared for php-ast, if you were interested. (this repo has its own descriptions for methods already)
Those were written for Phan's use case (knowing which properties existed in $node->children, from an editor or IDE, in Phan's language server), but may be useful there as well.
from php-ast.
Related Issues (20)
- Changing values of constants HOT 4
- Support ZEND_AST_ATTRIBUTE_GROUP for #[Attr1, Attr2] HOT 1
- Make version 80 the current version
- Dropping support for php 7.1 and older? HOT 2
- Test failing with 8.0.0beta4 HOT 2
- Add ast_dump option: AST_DUMP_EXCLUDE_DOC HOT 2
- Utilize in C# (e.g. exposing php-ast as a standalone library that can be used from other programming languages) HOT 1
- Travis -> GH Actions HOT 4
- make command error HOT 2
- Idea: Make ast\Node->endLineno a declared property? HOT 5
- Windows: Pecl DLL for PHP 8.1 HOT 8
- Question about class `implements` and `extends` HOT 1
- Why some built-in functions have special AST type ? HOT 1
- Expose php 8.2 `ENCAPS_VAR_DOLLAR_CURLY*` flags in ast\flags
- php 8.2 changed the ast representation of short arrow functions HOT 1
- [question] How to list all classes that used in a file? HOT 2
- php-ast 1.1.0 DLL for Windows HOT 8
- Fails to Compile with PHP 8 includes (changed prototype for "zend_prepare_string_for_scanning()") HOT 2
- PHP 8.3 compatibility HOT 2
- Incorrect values for magic constants HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-ast.