Skip to content
mattbierner edited this page Dec 9, 2014 · 29 revisions

Modules

parse - Core parsers and functionality.

  • Running - Running parsers and extracting results.
  • Basic Parsers - The four basic parsers from which all of Bennu's functionality is built.
  • Sequencing - Combinators to execute parsers sequentially.
  • Choice - Combinators for choosing between multiple potential parsers.
  • Enumeration - Combinators for building lists of results.
  • Tokens - Basic token parsing.
  • State Interaction - Querying and changing the parser or user state.
  • Memoization - Memoizing a parser.
  • Objects - Objects used in the API.
  • Parser Creation - Helpers for defining parsers.
  • Error Objects - Error objects returned when parsing fails.

lang - More complex combinators useful for parsing languages.

text - Parsers for text.

incremental - Running parsers incrementally.

Custom State

Links

Clone this wiki locally