Improve error reporting.
Add SEXP_FORMAT.md.