Crate gll_pg_core

source ·
Expand description

A parser generator for GLL grammar, core library

This library includes the runtime library for generated code.

Structs

  • Re-exported petgraph structs to avoid requiring dependency of generated code on it. Dot implements output to graphviz .dot format for a graph.
  • All GSS Parser states. It is used by generated code, don’t use it directly.
  • Re-exported petgraph structs to avoid requiring dependency of generated code on it. Graph<N, E, Ty, Ix> is a graph datastructure using an adjacency list representation.
  • A wrapper around Logos token type, providing its slice and kind.

Enums

  • Re-exported petgraph structs to avoid requiring dependency of generated code on it. Marker type for a directed graph.
  • Binary SPPF Node structure.

Traits

  • A common trait that all labels should impl, the labels and impl are generated. You don’t need to impl it in your code.
  • A common trait that all symbols should impl, the symbols and impl are generated. You don’t need to impl it in your code.
  • Re-exported streaming_iterator structs to avoid requiring dependency of generated code on it. An interface for dealing with streaming iterators.

Type Aliases

  • GSS Node Label Type
  • SPPF Nodes are stored into a vec, and references are stored as integer