Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xml-dev] Syntax versus Semantics (was: "vocabulary constraints" and

From: "Costello, Roger L." <costello@-----.--->
To: "'xml-dev@-----.---.---'" <-------@-----.---.--->
Date: 3/1/2009 1:04:00 PM
Michael Sperberg-McQueen wrote: 

> if we know how to specify it formally --
> especially if we can specify it in a way 
> that doesn't require a Turing machine -- and 
> check it automatically and conveniently, we tend to
> call it (whatever it is) syntax.  If we don't know 
> how, then it's semantics.

Neat!

And Michael also wrote:

> One of the great themes of computer science 
> over the last sixty years has been the 
> long-running campaign to move more and more 
> things out of the "must be checked by 
> eyeball" / semantics area, and into the "can
> readily be checked by machine" / syntax area.


QUESTIONS

1. If something is in the realm of "semantics" does that mean it can only be processed by humans (eyeballs)? It cannot be processed by machines?


2. If something is in the realm of "syntax" does that mean it can be declaratively expressed, whereas something in the realm of "semantics" can only be procedurally expressed?


3. Suppose that something can be expressed declaratively but it takes pages and pages to express it. Is it still syntax?


I'd like to take a stab at defining syntax and semantics, incorporating 

   - the distinction of declarative versus procedural and 
   - the distinction of simple to express versus complex:


WHAT IS SYNTAX?

Something is syntax if it can be simply specified in a declarative manner and it can be checked automatically and conveniently.


WHAT IS SEMANTICS?

Something is semantics if it cannot be simply specified in a declarative manner or it requires procedural code to express it.


Do you agree with these definitions?

/Roger
_______________________________________________________________________

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: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent