Re: Are multi-language languages unique to the XML family of languages?

"Liam R. E. Quin" <[email protected]>
Newsgroups gmane.text.xml.devel
Message-ID <[email protected]>
On Sat, 2022-03-05 at 23:02 +0000, Roger L Costello wrote:
> Hi Folks,
> 
> Consider the C language. It is one language. It doesn't use (host)
> other languages. 

Well, this is rather debatable.

Firs,t there's the C pre-processor, which is a different language.

#ifdef SOMETHING
#  ifdef SOMETHING_ELSE
. . .
#  endif SOMETHING_ELSE
#else SOMETHING
. . . .
#endif SOMETHING

(the tokens on else and endif were originally ignored and written like
that by convention; i once suggested something similar for XML, e.g.
  </div id="percy">
where the id attribute has to match the one in the start tag, for the
same reason - extra error checking.

C also has regular expressions in the standard library; originally
these were system-dependent extensions, and POSIX standardized them.

If you search for domain specific language (DSL), you'll find a ton of
them for different applications; it's quite common.  Often, i refer to
XPath as a DSL for tree-structured data such as one might interchange
with XML.

Liam


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org


_______________________________________________________________________

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: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.