remove unused plain-string formatter
better names and more comments
add some validation

- options must come in name/pattern pairs
- options must include the default 'other' option
bad transpiler input should throw
api documentation