parse and write built-in types