parser working on simple type declarations