Skip to content

Extending PPI #270

@jackdeguest

Description

@jackdeguest

Is there a possibility to extend PPI recognised grammar. I know there is PPI::Transform and I looked at it, but it seems more of a post-processing api.
What I have in mind is a way to have something like:

async sub hello
{
    print( "Hello world\n" );
}

be recognised as a PPI::Statement::Sub object and not as a PPI::Statement object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions