Expand description
This module contains the parser for the ByMC specification format.
The parser uses the pest parser generator, with the
grammar defined in bymc_format.pest. The grammar is based on the ByMC, but
allows for more flexibility in the specification.
Structsยง
- ByMC
Parser - Parser for the ByMC format
- ByMC
Parsing ๐Context - Context to store the definitions of macros in
- PRATT_
PARSER ๐ - Pest
ByMC ๐Parser
Enumsยง
- Rule
- This file specifies a pest grammar for the specification format introduced by BYMC (https://github.com/konnov/bymc).
Constantsยง
Functionsยง
- new_
parsing_ ๐error - Generate a new parsing error
- parse_
action_ ๐expr - Parse an action expression into a list of actions
- parse_
action_ ๐list - Parse a list of action expressions into a combined list of actions
- parse_
assignment_ ๐expression - Parse an assignment expression of an action into the corresponding list of actions
- parse_
boolean_ ๐atom - Parse boolean_atom
- parse_
boolean_ ๐con - Parse boolean connectives
- parse_
boolean_ ๐const - Parse boolean constant
- parse_
boolean_ ๐expr - Parse a constraint from a boolean expression
- parse_
boolean_ ๐expr_ list - Parse list of boolean expressions
- parse_
comparison_ ๐expr - Parse comparison expression, relating two integer expressions
- parse_
comparison_ ๐op - Parse comparison operator
- parse_
identifier_ ๐list_ to_ t - Parse a list of identifiers into a vector of objects of type T
- parse_
identifier_ ๐to_ t - Parse an identifier into an object of type T
- parse_
integer_ ๐atom - Parse integer atom
- parse_
integer_ ๐binary_ op - Parse an integer operator
- parse_
integer_ ๐const - Parse integer constant
- parse_
integer_ ๐expr - Parse expression over integers into an integer expression
- parse_
location ๐ - Parse a location definition
- parse_
location_ ๐list - Parse a list of location definitions
- parse_
ltl_ ๐atom - Parse an ltl atom into a single ltl expression
- parse_
ltl_ ๐expr - Parse an ltl expression into a single ltl expression
- parse_
ltl_ ๐specification - Parse a single ltl specification
- parse_
reset_ ๐expression - Parse a reset expression into the corresponding list of actions
- parse_
rule ๐ - Parse a rule
Type Aliasesยง
- Comp
Expr ๐ - Intermediate type for comparison expression of the form
lhs op rhs