Skip to content

michaelmdresser/dicelang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dicelang: dice expression parser and evaluator in Rust

Rust crate capable of parsing and evaluating dice expressions like d20+1d4-1d6+3. The main crate (here) provides parsing and evaluation facilities. There are also sub-crates for CLI and WebAssembly (WASM) support. See their READMEs for more more information.

A live WASM demo can be found on my website.

Acknowledgements

Many thanks to Robert Nystrom's book Crafting Interpreters for providing the foundation for this small project.

About

Dice expression parser and evaluator in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages