Breaks the ACEText (either an atom, or a list of character codes) into
a list of tokens (atoms or numbers).
The input ACEText can either be an atom like 'this is an example' or a list of character
codes like [116,104,105,115,32,105,...] (possibly written as "this is an example").
Tokenization will never fail. In case something goes wrong (e.g. a string
or comment is not closed) then an error message is asserted.
- Arguments:
-
ACEText | - is the input text, it is either an atom or a string |
Tokens | - is a list of tokens, i.e. the tokenization of the input text |