The lexical syntax for the components of identifiers is as follows:
thus not allowing the ISO Latin-1 signs for general currency, yen, broken vertical bar, registered trade mark, masculine and feminine ordinals, left and right angle quotes, fractions, soft hyphens, acute accent, cedilla, macron, and umlaut.
+ - * / \ & = < > | ^ ~ ! ? : . $ @ # [ ] { } ¡ ¿ × ÷ £ © ± ¶ § ¹ ² ³ · ¢ ° ¬ µ
nor are those ISO Latin-1 characters which cannot currently be formatted straightforwardly in both LaTeX and RTF using standard fonts, namely the signs for general currency, yen, broken vertical bar, registered trade mark, and left and right angle quotes. (The ISO Latin-1 characters for fractions, soft hyphens, and the isolated acute accent, cedilla, macron, and umlaut, are rejected merely because they do not seem at all useful in forming identifiers.) The following further restrictions are imposed:
( ) ; , ` " %
A keyword may however be used together with other words in a complete WORDS sequence, or as part of a single WORD.
: :? ::= = => <=> . · | |-> \/ /\ ¬ { } [ ]
They may however be used together with other characters in a complete TOKEN. E.g., `==', `:=', `||', `{|' are all recognized as complete TOKENs. The single characters `<', `*', `?', `!', and `/' are also recognized as complete TOKENs, despite their use elsewhere as terminal symbols.