parse enums with parsec