started working on types parsing
tests/generate.d refactoring