The special characters and their effects are as follows:
!
) results in a letter shift. The sequence
!n
, where n
is a number between 0 and 9
shifts the output by n
letters. Bang not followed by a
number in the input string resets the letter shifg. Note that letter
shifts are cumulative, so the input string *!a!1a!1a!1a*
will result in the translation abcd
.
#
) results in a cypher shift. The sequence
#n
, where n
is a number between 0 and 9
shifts the output by n
tokens in the cypher. Pound not
followed by a number in the input string resets the cypher shift.
Note that cypher shifts are cumulative, so the input string
!#a #1a #1a
could result in the translation
apple bear cat
.
^
) toggles capitalization of the output.*
) toggles translation of the ouput on and off.The ParserTwo Java source code is a derived class of the Parser applet.