this works with any symbol set.
set aside four symbols, let's use \:;|
\ is the escape character
\\ turns to \Â
\: turns to :
\; turns to ;
\| turns to |
the first part is a "dictionary"
q:oo;r:are|bqks r cql
this encodes "books are cool"
shorthands CANNOT contain \:;|
first we interpret q:oo;
replace every q after the | with oo
then we interpret r:are|
replace ever r after the | with are
the escape character also works with escaping these shorthands, but we need to encase the end with : like this
q:oo;r:are|bqks a\r:e cql
the order matters, so we can do something like this
a:bd;b:bc|a
this would turn a into bd into bcd
but this
b:bc;a:bd|a
would turn a into bd and not into bcd