OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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?


> -----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: [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: 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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS