[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Are multi-language languages unique to the XML familyof la

  • From: Jim DeLaHunt <list+xml-dev@jdlh.com>
  • To: xml-dev@lists.xml.org
  • Date: Sat, 5 Mar 2022 15:31:48 -0800

Re:  Are multi-language languages unique to the XML familyof la

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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.