Crate conjure_oxide

source ·

Modules§

Macros§

  • Register a rule set with the given name, priority, and dependencies.Example

Structs§

  • The result of applying a rule to an expression.
  • A rule with a name, application function, and rule sets.
  • A set of rules with a name, priority, and dependencies.

Enums§

Functions§

  • Searches recursively in ../tests/integration folder for an .essence file matching the given filename, then uses conjure to process it into astjson, and returns the parsed model.
  • Searches for an .essence file at the given filepath, then uses conjure to process it into astjson, and returns the parsed model.
  • Get a rule by name. Returns the rule with the given name or None if it doesn’t exist.
  • Get a rule set by name. Returns the rule set with the given name or None if it doesn’t exist.
  • Get all rule sets Returns a Vec of static references to all rule sets registered with the register_rule_set macro. Rule sets are not guaranteed to be in any particular order.
  • Get all rule sets for a given solver family. Returns a Vec of static references to all rule sets that are applicable to the given solver family.
  • Returns a copied Vec of all rules registered with the register_rule macro.

Type Aliases§

  • The result of applying a rule to an expression. Contains either a set of reduction instructions or an error.

Attribute Macros§

  • Register a rule with the given rule sets and priorities.