Module jomini::text

source ·
Expand description

Types for parsing clausewitz plaintext input

Main text deserialization APIs:

If the serde deserialization API is too high level, one can build abstractions ontop of:

  • TextTape::from_slice: Realizes a pseudo AST onto a linear tape. Cleans up and normalizes data.
  • TokenReader: (experimental) an incremental text lexer designed for handling large saves in a memory efficient manner.

Some additional APIs are available to make working with a TextTape more ergonomic for DOM-like use cases.

Modules§

  • text deserialization

Structs§

Enums§