[mod] simplify exception, don't need all of those
[enh] add an helper function to the tokens for rendering
[enh] put real debug output for the parsing error
[mod] don't need this for the moment