[REBOL] Parse rules as data
From: brett:codeconscious at: 27-Jun-2001 18:16
If a set of parse rules validate some data, then they certainly describe it
I was wondering that if given data-A that is parsed by parse-rules-A
and parse-rules-B a smart program could produce data-B that can be parsed
by parse-rules-B. As in:
Data-B: TRANSFORM data-A parse-rules-A parse-rules-B
Probably would need transform-hints-from-A-to-B as well I suppose, in some
Even a constrained (in terms of rules) solution might be handy.
I suppose this steps into the same space as XSLT and tree-rewriting.
Just whip me up one please.. Thanks.. :)