Initial commit
This commit is contained in:
commit
9c484e6bc1
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/target
|
||||
Cargo.lock
|
10
Cargo.toml
Normal file
10
Cargo.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[package]
|
||||
name = "purrchance"
|
||||
version = "0.1.0"
|
||||
authors = ["xenofem <xenofem@xeno.science>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
23
README.md
Normal file
23
README.md
Normal file
|
@ -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)
|
7
src/lib.rs
Normal file
7
src/lib.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
assert_eq!(2 + 2, 4);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue