allow trailing comma, leading |. test it, too
give a sane error message for parsefail.