Skip to content

Suggestion: re-implement OKL language parser using the PEG parser generator "cpp-peglib" #599

@pdhahn

Description

@pdhahn

I have implemented languages using cpp-peglib (https://github.com/yhirose/cpp-peglib). Based on experience, I feel it makes doing so straightforward, even relatively easy. Utilized in OCCA, it could improve transparency and extensibility which in turn can improve prospects for further contributions and enhancements.

This is probably just a long-term suggestion to consider at the next revamp cycle/opportunity for OCCA.

The present OKL parser is fast. A likely downside of cpp-peglib would be a decrease in parser performance, but the extent of that would have to be evaluated, of course.

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