commit 9c484e6bc13b1fd65d46db490cca09bcbbf9c63f Author: xenofem Date: Thu Jun 18 19:38:55 2020 -0400 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96ef6c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..d58a929 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "purrchance" +version = "0.1.0" +authors = ["xenofem "] +edition = "2018" +license = "MIT" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..1fdb8b5 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Purrchance + +Purrchance is an unofficial Rust implementation of the +[Perchance](https://perchance.org/) 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 + +- Imports +- Anything else that isn't covered in [the Perchance basic tutorial](https://perchance.org/tutorial) \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}