Move error mapping from cli to lib
Add --6to5 option to use 6to5 acorn parser