Fix range parsing and implement collection literals.