skeletal line-by-line parser which only handles definitions ;-)