[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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:mike@saxonica.com] > Sent: Sunday, April 11, 2010 5:18 AM > To: 'Mukul Gandhi'; xml-dev@lists.xml.org > Cc: 'Liam Quin'; 'Costello, Roger L.' > Subject: RE: 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: xml-dev-unsubscribe@lists.xml.org > subscribe: xml-dev-subscribe@lists.xml.org List archive: > http://lists.xml.org/archives/xml-dev/ > List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|