Use read_term/3
to read the next term from Atom. Atom is either an
atom or a string object (see section
5.2). It is not required for Atom to end with a
full-stop. If Atom only contains white space and/or comments,
an
syntax_error(end_of_string) exception is raised. This
predicate supersedes atom_to_term/3.