[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Syntax and semantics

  • From: Sean McGrath <sean@d...>
  • To: xml-dev@x...
  • Date: Thu, 18 May 2000 04:53:35 +0100

postscript syntax
Assertion: Putting all the semantics of a message
into a message is impossible.

Here is why:
I have a file here called foo.ps. It can be thought
of as a stream of bytes. It can be thought of as a
collection of tokens that can be summoned forth
with the aid of a grammar. It can be though of
as combination of executable code with embedded
chunks of data. It can be interpreted in
a multitude of different ways. In short, it
has many semantic views depending on what
a process is doing with the resource at a given
point in time.

The latter "view" of the foo.ps
resource is more commonly expressed in
English by the phrase "Postscript file".

Now, If I send foo.ps to you over the Internet,
does it contain semantics as well as syntax?
Yes. It is clearly more than just data. It contains both
data *and* the code to interpret that data in
the form of a Postscript program.

Is the semantic component of foo.ps self
contained? No. In order for foo.ps to
be "rendered" as is the life
wish of Postscript files, a processor has
to have a-priori capability to interpret
and execute Postscript programs.

No matter how you cut it, external semantics
are a requirement to get anything done!

Produce an utterly self contained message with
no need for externally agreed semantics is
impossible it seems to me.

What is the most basic type of self
contained message? Probably a stream of
1's and 0's to be interpreted as code
to be executed by a Turing machine. Can
a single message be constructed that
contains both the semantics of 
a Turing machine and the data to feed
to the Turing machine once constructed?

It just ain't possible, right?

regards,

Sean,




***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.