Skip to content

PEG, Packrat, Pika Parsing mode #118

@EDKarlsson

Description

@EDKarlsson

Thanks for responding to my tweet! Just opening this ticket to start a discussion of implementing PEG parsing mode. Side note, you could enable the discussions section to have an area where people could discuss topics without having to create an issue about it.

A bit of context.
I'm currently implementing the SysML v2 modeling language and I've made very good progress using textX since it came graphical output and model/AST traversal built in. TextX lacks some features and flexibility in its grammar that results in bloat/excessive elements in the model and it is restricted to Python.

I think having a PEG, and more specifically an implementation of Pika Parsing would be a great addition since it allows for linear time parsing and can handle left recursive rules. I think Pike parsing would help with implementing a parser for SysML since the Systems Modeling Language is extensive/complex and has 2 separate specifications for the base language, KerML, and SysML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions