[REBOL] Re: Rebol# or Rebol on DotNET
From: maximo:meteorstudios at: 15-Oct-2003 9:45
> -----Original Message-----
> From: bryan [mailto:[bry--itnisk--com]]
> especially as one can do runtime translation between xml schema
> datatypes and .net datatypes.
basically,
we have to wait for the plugin architecture for custom datatypes...
What I am designing is a series relationship mapping dialect function for liquid which
maps indexes of two series. so you can say map [series-a 1 series-b 34]
in this context, some datatypes will have subtypes, identifying their subvalues by name...
somewhat like the date and time datatype can do..
thus an equivalent to
value: mytime/hours
you would first create the relationship with:
>> relationship: map [mytime 'hour value ]
and then can do any of the following:
update relationship value
update relationship mytime
which will automatically (and speedilly) set the corresponding values within a series
(or not, depending on the relationship)
the map dialect should be able to detect series values and expect an index of some type
when it finds one (including subtypes, like 'red 'green or 'blue for tuples, it is even
possible that depending on the subtype used, some form of datatype conversion may occur,
as an added benefit...).
this is to allow liquids to patch to and from series directly...
this is not yet done, but part of the eventual design.
-MAx