[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: which class of programming languages, XML Schemalanguage b
On 11/03/2022 08:48, Michael Kay wrote: A related perma-topic is "Is HTML a programming language?"Well, I would say that XSD is indeed a "formal computer language", but not a "programming language"; I don't think you can describe something as a programming language unless it is Turing-complete. I don't know of any universally accepted categorisation scheme for formal computer languages, and without such a scheme you can't say where a particular language fits; but it's certainly reasonable to describe XSD as a constraint specification language or as a data definition language (if indeed those two categories are distinct). I'm in the "No, because it is not Turing-complete" camp (for example, it has no conditionals) but it does instruct a computer to do things and so others say it is. I'd say if "programming language" was a spectrum, HTML would be more of a programming language than XSD. To add more confusion, for most programming languages such as C++ and Java, it's very specific what the language tells the computer to do. With XSD, the XSD can be used in many ways by a computer. Does that suggest it is "something else"? Pete. -- --------------------------------------------------------------------- Pete Cordell Codalogic Ltd Read & write XML in C++, http://www.xml2cpp.com ---------------------------------------------------------------------
[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
|