It looks like parts of some error messages are printed to stdout. I think they should all go to stderr instead.
Syntax error example:
main?stderr:
*** SYNTAX ERROR *** (1-1) wrong rule. main?<<HERE>> *** error(syntax_error,picat)stdout:
1 error(s)Similar problem seems to exist with other kinds of errors, such as those caused by main=>1. or main=>A=[],print(A[1]).