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

Parsing Expression Library #1

Open
kwvanderlinde opened this issue Sep 9, 2017 · 0 comments
Open

Parsing Expression Library #1

kwvanderlinde opened this issue Sep 9, 2017 · 0 comments
Labels
Milestone

Comments

@kwvanderlinde
Copy link
Owner

kwvanderlinde commented Sep 9, 2017

Story

As a user, I want a parsing expression library written so that I can define parsers easily without having to use a code generator.

Acceptance Criteria

  • A parsing expression library exists
  • Types exist for each kind of PEG expression, and each expression must take the form of an object
    • These types should be simple, fulfilling a minimal interface with minimal dependencies.
  • It must be simple to translate from a PEG grammar to a set of parsing objects.
    • In particular, the user must not have to worry about which parsing strategy is used or whether memoizing is used, etc.
  • The resulting parser should be not expose any mutable behaviour.
    • Rules cannot be added to a parser, but must be defined using a builder.
    • Individual expression objects must also not expose any mutable behaviour
    • Memoization is an implementation detail and should be added transparently by the builder without any extra code when defining the parser.
@kwvanderlinde kwvanderlinde changed the title Parser combinators Parsing Expression Library Sep 9, 2017
@kwvanderlinde kwvanderlinde added this to the Sprint 2 milestone Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant