Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser output schema #9

Open
kasbah opened this issue Jan 23, 2018 · 0 comments
Open

Parser output schema #9

kasbah opened this issue Jan 23, 2018 · 0 comments
Labels
antlr-port Issues only applicable to our attempt to port to antlr

Comments

@kasbah
Copy link
Member

kasbah commented Jan 23, 2018

I think the parser output should be:

Strict

{
    result: Result;
    warnings: Array<Warning>;
}

// or

{
    error: Error;
}

Lax

{
    result: Result;
    ignored: string;
    warnings: Array<Warning>;
}

The exact shape of Result still needs to be fleshed out as well.

@kasbah kasbah changed the title Parser output Parser output schema Jan 23, 2018
@kasbah kasbah added the antlr-port Issues only applicable to our attempt to port to antlr label Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
antlr-port Issues only applicable to our attempt to port to antlr
Projects
None yet
Development

No branches or pull requests

1 participant