Whiteknight / ParserObjects

C# library for parser combinators
https://whiteknight.github.io/ParserObjects
Apache License 2.0
6 stars 0 forks source link

Compose Parser #206

Open Whiteknight opened 10 months ago

Whiteknight commented 10 months ago

To create a scanner-based parser, we need to do several separate steps:

  1. Create the lexer
  2. Wrap the lexer in a ParseResultSequence
  3. Feed the ParseResultSequence into the parser

We would like to wrap this functionality up into a new Compose parser which will take a lexer and parser and return a single parser which does both internally.