This is a ground-up rewrite of my
Games::Dice::Probability PERL module, this time as a Golang module.
The toughest piece was finding and properly leveraging a recursive-descent parser. Then learning the ins and outs of developing a Go module.
After that, re-writing the dice code was a snap! Implementing the math in Go versus PERL was relataively easy, but I did simplify the logic a little bit.
Project link: https://github.com/jason-dour/diceprob