[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Is XML a language or a data format?
- From: Tony Graham <tgraham@antenna.co.jp>
- To: xml-dev@lists.xml.org
- Date: Thu, 14 Jul 2022 12:19:26 +0100
On 14/07/2022 11:27, Michael Kay wrote:
...
A traffic light can only send out a small finite set of messages
("Stop", "Go", "Get Ready") and we wouldn't normally call such a
small set of utterances a language, because it doesn't have
sufficient expressive power; but in any rigorous definition of what a
language is, it's very likely to qualify. There is certainly a
grammar:
SIGNAL := RED | GREEN | AMBER | RED+AMBER
Where RED+AMBER, while allowed by the grammar [2], is mostly a feature
of the UK dialect of the language [1], and BLUE is the Japanese
for GREEN. [1]
Regards,
Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham@antenna.co.jp
[1] https://en.wikipedia.org/wiki/Traffic_light#Variations
[2] https://en.wikipedia.org/wiki/Traffic_light#Meanings_of_signals
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]