Expand description
The multilinear-parser library provides functionality to parse a multilinear system from a text-based format.
It allows you to define events, which rely on various aspect specific conditions or changes using a markdown inspired syntax.
Example Event Syntax:
# Move to Livingroom
place: bedroom > livingroom
# Get Dressed
place: bedroom
clothes: pajamas > casualSupports logical combinations:
(clothes: pajamas | clothes: casual) & place: bedroomStructs§
- Aspect
Error - Represents errors that can occur during aspect file parsing.
- Directory
OrFile Error - Represents errors that can occur during directory or file parsing.
- Error
- Represents errors that can occur during parsing.
- Index
Map - Stores index based maps.
- Multilinear
Parser - A parser for multilinear system definitions, supporting incremental parsing across multiple files or input streams.
- Named
Multilinear Info - A multilinear info containing the mapped aspect and event names.
Enums§
- Aspect
Adding Error - Represents errors that can occur when adding an aspect manually.
- Aspect
Error Kind - Represents the kind of errors that can occur during aspect file parsing.
- Condition
Parsing Error - Represents errors that can occur when parsing conditions.
- Directory
OrFile Error Kind - Represents the kind of errors that can occur during directory or file parsing.
- Error
Kind - Represents the kinds of errors that can occur when parsing a line.
- Extended
Error - Represents errors that can occur during extended parsing operations.
Functions§
- parse_
multilinear - Parses a complete multilinear system from a single reader.
- parse_
multilinear_ extended - Parses a multilinear system from a directory or file, with optional aspect initialization.