ternary-grammar 0.1.0

Context-free grammar for generating and parsing valid ternary strategy expressions
Documentation
  • Coverage
  • 43.14%
    22 out of 51 items documented0 out of 26 items with examples
  • Size
  • Source code size: 26.18 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 813.81 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SuperInstance

ternary-grammar

Context-free grammar for generating and parsing valid ternary strategy expressions.

Provides:

  • Grammar — CFG definition and production rules
  • TernaryExpr — AST for ternary strategy expressions
  • Parser — Recursive descent parser for ternary expressions
  • Generator — Generate valid ternary expressions from grammar
  • Evaluator — Evaluate ternary expressions