Hub for Random Name Generator libraries written in various languages.
This started as me wanting to wrap with Gradle a Java class library that I found of a public forum by Joonas Vali aka Sinipull that I thought was cool. Later on, I started using it as a kind of personal kata when I started working on a programming language for the first time.
- Ruby: random_name_generator
This is the version that has gotten the most traction, including a contribution of Russian language versions of some of the dialects. I'm proud of this version of the framework. It's my first complete rewrite of the original Java code I found online and I consider it solid.
- Rust: random_name_generator_rs
This is a port of the Ruby version that I like a lot. Rust is my happy place language right now, and this was a great way to get into the language.
For this version, I just wanted to take Joonas Vali aka Sinipull's code on codecall.net and add Gradle to is so that it could be easily included in other project.
It would be fun to completely refactor this code, adding test coverage, etc.
- Go: goname
(needs refactoring)
TBH, I don't trust this randomization of this version, and makes me think that I need to explore ways to create a consistent testing strategy for every version of the library.
I wrote it before go modules came along, so it's in desperate need of an overhaul.
Started on an updated @ https://github.com/folkengine/rngo.
A big part of making the testing of the versions consistend will be from adding the ability to do seeded randomization for each. While RSpec makes this easy in Ruby, it's a bigger challenge in other languages from what I can tell.
Some of these I want to do as a way to get a feel for the nuances of working between languages in the same family, such as JavaScript/TypeScript, Erlang/Elixir, and C#/F#. Of all the languages on the list Erlang/Elixir are on the top. For some reason, I have a potentially unhealty fascination with the relationship between something written in Erlang and in Elixir.
- JavaScript
- TypeScript
- Elixir
- Erlang
- C#
- F#
- Scala
- Clojure
- Java 15
One of the crazier ideas that I would love to get going is what I call Tolkien Mode. One of the things that I always thought was really cool about the languages that Tolkien created in LOTR is that there are multiple scripts for the languages he invented. How totally bad assed would it be for the library to be able to print out randomly generated Elvish names in Tengwar or Cirth?
I did some preliminary investigation to see what was out there for fonts, and quickly gave up given how daunting is seemed.