I’ve wanted a name generator a couple times recently. The name generator I want consists of a grammar file for generating names within that grammar.
The ultimate use for this will be in games. I want to be able come up with naming conventions so that I can generate internally consistent names for places, characters, and items.
I hacked together a hard-coded version and put it up on Bitbucket. I called it RName. The project page is here.
It’s very bad code right now. I just got something up there so I would have a starting point.
My next steps are:
- spec out the grammar for the grammar files
- get a parser for the grammar files
- write the actual generation code
- make a ui or console frontend
Time for flashbacks to compilers.