Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ghostwriter/syntax

Open more actions menu

Syntax

GitHub Sponsors Automation Supported PHP Version Downloads

Lexical Analysis library for PHP (Lexer, Tokenizer, Parser, Generator)

Warning

This project is not finished yet, work in progress.

Installation

You can install the package via composer:

composer require ghostwriter/syntax

Usage

// work in progress

Commands

# This is for development; dogfooding to parse and generate the AST for test fixture files.
syntax /path/to/file.php 

# -s|--save: Save or Update the AST of the PHP file as JSON file ['file.php => file.php.json'] in the same location.

Testing

composer test

Changelog

Please see CHANGELOG.md for more information what has changed recently.

Security

If you discover any security related issues, please email nathanael.esayeas@protonmail.com instead of using the issue tracker.

Support

[Become a GitHub Sponsor]

Credits

License

The BSD-3-Clause. Please see License File for more information.

About

[WIP] Lexical Analysis library for PHP

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors

Languages

Generated from ghostwriter/wip
Morty Proxy This is a proxified and sanitized view of the page, visit original site.