ianfhunter / GNOLL

GNOLL is an efficient dice notation parser for multiple programming languages that supports a wide set of dice notation
https://www.ianhunter.ie/GNOLL/
GNU General Public License v3.0
39 stars 23 forks source link

Add a Python command-line interface #440

Closed Kodiologist closed 9 months ago

Kodiologist commented 9 months ago

It would be cool to be able to roll dice with python3 -m gnoll. There's already a command-line interface in C, but (1) binaries of it don't seem to be distributed anywhere, so you have to build it from source, and (2) it's missing a lot of features that the core code supports (#431). I bet that a Python command-line interface would be a lot easier to write and maintain than a C version.

@ianfhunter I'd be happy to take a stab at this, if you're interested in having it.

github-actions[bot] commented 9 months ago

Thanks for filing an issue! We'll get back to you as soon as we can with a response.

ianfhunter commented 9 months ago

It would be cool to be able to roll dice with python3 -m gnoll. There's already a command-line interface in C, but (1) binaries of it don't seem to be distributed anywhere, so you have to build it from source, and (2) it's missing a lot of features that the core code supports (#431). I bet that a Python command-line interface would be a lot easier to write and maintain than a C version.

@ianfhunter I'd be happy to take a stab at this, if you're interested in having it.

It would be quite nice! If you're willing to give it a try, I'll review any PRs you have