Partially optimize inputs and document rules for further optimizations we can make.
Apply the transform to a Keyboard. Onwards to the final demonstration!
Using Haskell's Text.ParserCombinators.ReadP library for the first time, and I enjoyed it thoroughly! It's nice avoiding a third-party library like MegaParsec.