XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] Are multi-language languages unique to the XML familyof languages?

On 2022-03-05 15:02, Roger L Costello wrote:

…Other than the XML family of languages, are there languages that are multi-language languages? Or, is this a phenomena unique to the XML family of languages?

Oh, there are many. This phenomenon is not unique to the XML family of languages. I would go so far as to say it is the norm.

Example 1: Regular expressions in the Python programming language

s = r"\s\tWord"
prog = re.compile(s)

From the Python language point of view, s has a character string value. It turns out that this value is an expression in a different language, the Python regular expression language. (This particular regular expression is very simple. It has no repetition operators like '*' or '+'.) Read more about Python and regular expressions at my answer <https://stackoverflow.com/a/13836171/1099571> to the Stack Overflow question, What exactly is a "raw string regex" and how can you use it?

Example 2: Human-readable text in just about any language

s = "This is human-readable text"

This expression is a valid in many different programming languages. s has a character string value. It turns out that this value is an expression in a different language, the English language.

-- 
    --Jim DeLaHunt, jdlh@jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
      multilingual websites consultant


[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