Parse definitions and externs.