REBOL3 tracker
  0.9.12 beta
Ticket #0000820 User: anonymous

Project:



rss
TypeBug Statustested Date15-May-2009 19:19
Versionalpha 54 Categoryn/a Submitted byBrianH
PlatformAll Severitymajor Priorityhigh

Summary binary! should not be a part of any-string!
Description The binary! type is not like strings - its contents are 1-byte integers, not Unicode characters. We should consider removing binary! from the any-string! typeset. It would still be a series!, but not a string. The functions that take strings would need to be reviewed to see whether they depend on character elements either way.

This is high priority because the decision needs to be made now. This is similar to the debate going on about image! and bitset! in series!.

Discuss here or in R3 chat. Dismiss if binary! is to remain in any-string!, mark built for the appropriate alpha if not.
Example code

			

Assigned ton/a Fixed inalpha 60 Last Update24-Jun-2009 03:45


Comments
(0000755)
oldes
16-May-2009 11:08

I have no problem with binary! not being as a part of any-string!
(0000756)
meijeru
16-May-2009 12:04

I agree to have it outside any-string; all other types in any-string are character strings, this one has bytes (not the same anymore)
(0000757)
Ladislav
16-May-2009 18:04

binary! served well as any-string! in R2. E.g. when parsing binary we followed the string rules, not the block rules.
(0000758)
BrianH
16-May-2009 19:20

Well, in R3 binary parsing would need to be different since the underlying data is different. We could use the same dialect operations if we like, though that may be limiting.

We should go over the parse proposals again. I think they could use some restructuring, with type-specific operations grouped.
(0000851)
BrianH
27-May-2009 16:00

Changed this to a bug, and rephrased accordingly.
(0001033)
Carl
23-Jun-2009 20:54

The change has been made in A60. Begin testing there. More work needed.

Date User Field Action Change
24-Jun-2009 03:45 BrianH Status Modified built => tested
23-Jun-2009 20:54 carl Comment : 0001033 Added -
23-Jun-2009 20:53 carl Status Modified reviewed => built
23-Jun-2009 20:53 carl Fixedin Modified => alpha 60
27-May-2009 20:04 BrianH Comment : 0000851 Modified -
27-May-2009 19:43 BrianH Comment : 0000851 Modified -
27-May-2009 19:39 BrianH Type Modified Issue => Bug
27-May-2009 16:01 BrianH Summary Modified Should binary! be a part of any-string! ? => binary! should not be a part of any-string!
27-May-2009 16:01 BrianH Description Modified -
27-May-2009 16:00 BrianH Comment : 0000851 Added -
16-May-2009 19:21 BrianH Comment : 0000758 Modified -
16-May-2009 19:20 BrianH Comment : 0000758 Added -
16-May-2009 18:04 Ladislav Comment : 0000757 Added -
16-May-2009 12:04 meijeru Comment : 0000756 Added -
16-May-2009 11:08 oldes Comment : 0000755 Added -
15-May-2009 19:22 BrianH Status Modified submitted => reviewed
15-May-2009 19:22 BrianH Description Modified -
15-May-2009 19:19 BrianH Ticket Added -