Recognizes tokens from symbol codes.
Throws error(invalid_input(String)) when the input in out/block instruction cannot be parsed into a Prolog term.
error(invalid_input(String))