[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
- From: Dimitre Novatchev <dnovatchev@gmail.com>
- To: Marcus Reichardt <u123724@gmail.com>
- Date: Fri, 11 Mar 2022 07:41:00 -0800

It's not entirely clear CSS isn't Turing-complete yet though, or bound to become Turing-complete soon.
Not talking about that old "proof" where the user has to perform clicks to function as tape, but rather about newer CSS features such as var() in combination with grid and other constraint-based layouts etc. which I'd not be surprised to hear having become accidentally Turing-complete considering the grab bag CSS has amounted to.
Apart from that, how about XSD is a regular tree grammar? Though with unconstrained XPath assertions or XPath 2+ existential quantifiers etc. XSD might eventually end up becoming Turing-complete, too.
FWIW, it has long been established that XSD is undecidable ie. the problem of answering whether an arbitrary XSD can have a valid instance isn't decidable in general due to interaction of key constraints with minOccurs/maxOccurs as I recall, even without XPath assertions.
Best,
Marcus Reichardt
sgml.io
> Am 11.03.2022 um 13:29 schrieb Pete Cordell <pete++xmldev@codalogic.com>:
>
> On 11/03/2022 08:48, Michael Kay wrote:
>> 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).
>
> A related perma-topic is "Is HTML a programming language?"
>
> 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
> ---------------------------------------------------------------------
>
> _______________________________________________________________________
>
> 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
>
_______________________________________________________________________
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
-- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- To avoid situations in which you might make mistakes may be the biggest mistake of all ------------------------------------ Quality means doing it right when no one is looking. ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play ------------------------------------- To achieve the impossible dream, try going to sleep. ------------------------------------- Facts do not cease to exist because they are ignored. ------------------------------------- Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :) ------------------------------------- Sanity is madness put to good use. ------------------------------------- I finally figured out the only reason to be alive is to enjoy it.

[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
RSS 2.0 |
 |
Atom 0.3 |
 |
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|