Perchance Rust library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xenofem dab6774a47 correctly parse grammars that don't have a final newline 2 years ago
src correctly parse grammars that don't have a final newline 2 years ago
.gitignore Initial commit 2 years ago
Cargo.toml correctly parse grammars that don't have a final newline 2 years ago
README.md Add parser 2 years ago

README.md

Purrchance

Purrchance is an unofficial Rust implementation of the Perchance grammar engine.

Features I might implement eventually

  • Parsing grammars from text format
  • Basic lists
  • Probability weights
  • Single-item lists
  • Escape sequences
  • Shorthand lists
  • Properties
  • Variables
  • Executing multiple actions
  • Hierarchical lists
  • || operator

Features I probably won't implement