Re: Data-driven application --> the data is essentially "machine code" to the application, right?

Michael Kay <[email protected]>
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
>> 
>> That is how a CPU behaves, right? So the data is essentially "machine code"
>> to the application, right?
>> 
> 

I think what you're doing here is re-discovering the isomorphism between data and program structures, an idea which was elegantly explored in Jackson Structured Programming. The essence of the idea (which dates back to sequential processing of hierarchical data files on magnetic tape) is that the structure of the code should generally follow the structure of the input data, and that a schema for the data (in terms of a tree with sequence, choice, and repetition nodes) translates into a program design with instruction sequences, conditionals, and loops.

Where it gets interesting is when the hierarchic structure of the output doesn't match the hierarchic structure of the input, and Jackson goes into great detail analysing the different types of structure clash and the techniques for dealing with them.


Michael Kay
Saxonica


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.