RE: [xml-dev] RE: Declarative programming requires a different mindset

From
Michael Sokolov <>
To
'Michael Kay' <>, 'Mukul Gandhi' <>,
Date
2010-04-11T12:27:42Z
ID
<>
Thread
RE: [xml-dev] RE: Declarative programming requires a different mindset
Postscript is an interesting case - I am told that it is Turing-complete,
but its uses are almost entirely declarative: for layout, akin to HTML.
Perhaps someone more knowledgeable about PS on this list would care to
comment on how that came to be?

-Mike

> -----Original Message-----
> From: Michael Kay [mailto:] 
> Sent: Sunday, April 11, 2010 5:18 AM
> To: 'Mukul Gandhi'; 
> Cc: 'Liam Quin'; 'Costello, Roger L.'
> Subject: RE: [xml-dev] RE: Declarative programming requires a 
> different mindset
> 
> > But I agree, that XHTML is not a programming language (but 
> > interestingly, I think, XSLT is -- because it allows us to 
> express, a 
> > sequence of instructions, which are processable by machines).
> 
> I think that in common usage, the term "programming language" 
> means a language that is computationally complete 
> (Turing-complete). On that definition, XSLT and XQuery are 
> certainly programming languages, while XSD and XHTML are not.
> 
> (The notion of a "sequence of instructions processible by 
> machines" isn't needed to make this distinction.)
> 
> Regards,
> 
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay 
> 
> 
> ______________________________________________________________
> _________
> 
> 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: 
> subscribe:  List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 
>