[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Data-driven application --> the data is essentially"machine code" to the application, right?
- From: Shlomi Fish <shlomif@shlomifish.org>
- To: Roger L Costello <costello@mitre.org>
- Date: Wed, 7 Dec 2022 04:18:11 +0200
Hi Roger,
On Tue, 6 Dec 2022 14:28:15 +0000
Roger L Costello <costello@mitre.org> 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 .
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]