[REBOL] Re: Parse rules as data
From: brett:codeconscious at: 28-Jun-2001 19:50
> Isn't it quite possible that the two sets of rules are completely
> For example, Carl's parse samples include driving directions and a
cooking recipe. How would you automatically transform between the two?
No doubt that there could be orthogonal sets of rules, and in such cases it
may be a nonsense to try to transform between them. Though given the
activity around e-commerce languages and XSLT type transformations there is
probably a family of transforms that would be useful to do. I suppose it
would have to be up to the user to decide whether to initate the tranform or
> I think that once you'd added the rules or hints needed to effect the
transform, you'd have a nice little rebol script and very little logic left
for the common
> engine to implement.
That was bothering me also, but I thought I'd send up the kite to see if it
would fly. I thought there should be something smart that one could do with
meta-data + meta-data.
I suppose it is equivalent to having a relational database with schema-a and
asking it to export and then load into schema-b.