Automata generators for multiple input types (regular expression, right linear grammar etc.)