where <alphaNum> recognizes a single alpha numeric character and <symbol> recognizes any one character in .,:;'/<>?~!@#$%^&*-+=|\. Notice that we do this at the word level (all whitespace is used to make tokens and then we strip it off). For example, the parser sees " x ( yx) " as ["x", "(", "yx", ")"].
Currently, the parser accepts the grammar
where
<alphaNum>
recognizes a single alpha numeric character and<symbol>
recognizes any one character in.,:;'/<>?~!@#$%^&*-+=|\
. Notice that we do this at the word level (all whitespace is used to make tokens and then we strip it off). For example, the parser sees" x ( yx) "
as["x", "(", "yx", ")"]
.resolves #3