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

Shlomi Fish <[email protected]>
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
Hi Roger,

On Tue, 6 Dec 2022 14:28:15 +0000
Roger L Costello <[email protected]> wrote:

> Hi Folks,
> 
> Suppose you have data that drives an application. Maybe the data is something
> like this:
> 
> <Document>
>     <item>data1</item>
>     <item>data2</item>
>     <item>data3</item>
> </Document>
> 
> The application performs this loop:
> 
> 1. read the next piece of data
> 2. perform an action based on the data
> 3. if no more data then done else goto 1.
> 
> That is how a CPU behaves, right? So the data is essentially "machine code"
> to the application, right?
> 

see:

*
https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#what-do-you-think-about-interpreted-vs-compiled-languages

* https://en.wikipedia.org/wiki/Chomsky_hierarchy

XML/etc. data can be quite complex and even troff is turing-complete.

> The data could be a list of XPath expressions. Then the XPath expressions are
> essentially machine code, right?
> 
> Machine code is usually produced by a compiler. That is, a higher level
> language is compiled into machine code. Have you created a higher level
> language which you "compile" into data that then drives an application? What
> is the higher level language?
> 
> Have you ever "reverse engineered" data? That is, have you reverse engineered
> data to produce a higher level language?
> 
> /Roger
> 



-- 

Shlomi Fish       https://www.shlomifish.org/
https://youtu.be/n6KAGqjdmsk - “Hurt Me Tomorrow”

The KGB used to torture their victims by having them look at scrolling XSLT
code.
    — https://www.shlomifish.org/humour/bits/facts/XSLT/

Please reply to list if it's a mailing list post - https://shlom.in/reply .

_______________________________________________________________________

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.