Seperated concerns when generating ast + c.