View Source Cogito (Cogito v1.0.2)

A common module for the project.

Known parsers:

  • JSON
  • logic expressions
  • NGINX logs

But you can easily build your own.

Summary

Functions

Parses a string, abstracting from the internal implementation of the parser.

Functions

parse(parser, input)

@spec parse(parser() | parser!(), String.t()) :: any()

Parses a string, abstracting from the internal implementation of the parser.