Skip to content

Example grammar that parses JSON like JSON.parse? #2090

@fabiospampinato

Description

@fabiospampinato

Hello, I'd like to benchmark my little parser generator against Chevrotain, but I can't find a first-party grammar for it that parses JSON. I see there's this one, but it parses JSON to a CST, in order to compare it against my grammar it would have to parse JSON in the JSON.parsesense. Is a first-party grammar like that available?

Thanks.

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