Cogito.Primitives (Cogito v0.3.0)

A list of primitive parsers.

Parsers

  • chars
  • not_chars
  • word
  • space
  • ws
  • digit
  • natural
  • integer
  • float
  • letter
  • letter_or_digit
  • identifier
  • string
  • iterable

Summary

Functions

chars(codes)

digit()

float()

identifier()

integer()

iterable(parser, left, right, delimiter)

letter()

letter_or_digit()

natural()

not_chars(string)

space()

string()

word(string)

ws()