Category talk:Non-Programming Languages: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(Confused with declarative?)
Line 4: Line 4:
The primary focus of the developers isn't to produce a programming language. So sed is an editor as are vim and emacs,bc is a calculator, and m4 a macro processor. The fact that they might accomplish RC tasks doesn't mean that they should be considered as programming languages. Shades of grey. --[[User:Paddy3118|Paddy3118]] 09:17, 6 July 2009 (UTC)
The primary focus of the developers isn't to produce a programming language. So sed is an editor as are vim and emacs,bc is a calculator, and m4 a macro processor. The fact that they might accomplish RC tasks doesn't mean that they should be considered as programming languages. Shades of grey. --[[User:Paddy3118|Paddy3118]] 09:17, 6 July 2009 (UTC)
: But the examples of this category are HTML, [[JSON]], SGML, [[SVG]] and XML. Their distinguishing feature is that they are not programming languages ''at all''; it happens that they're all data description languages (and yes, can describe or embed programs). —[[User:Dkf|Donal Fellows]] 09:33, 6 July 2009 (UTC)
: But the examples of this category are HTML, [[JSON]], SGML, [[SVG]] and XML. Their distinguishing feature is that they are not programming languages ''at all''; it happens that they're all data description languages (and yes, can describe or embed programs). —[[User:Dkf|Donal Fellows]] 09:33, 6 July 2009 (UTC)

In what sense HTML and XML are not programming languages? Computers are programmed. Data is an input or output of a program. I cannot tell what do you mean under "focusing on data". Probably, it is just a confusion with ''declarative'' versus ''imperative'' approaches to '''programming'''. Languages using either declarative or imperative approach are still programming ones. Anyway, so long a language is a '''computer''' language it does ''program'' that computer. The text in any computer language is called ''program''. So in what sense a computer language can be non-programming? P.S. Note that for HTML/XML, the source code is the text in HTML/XML correspondingly. Just per definition: the source code of a program is a stored text in the language the program was written. --[[User:Dmitry-kazakov|Dmitry-kazakov]] 09:34, 6 July 2009 (UTC)

Revision as of 09:34, 6 July 2009

What does "non-programming language" mean in this context? --Dmitry-kazakov 07:39, 6 July 2009 (UTC)

HTML and XML are computer languages that focus entirely on data. They are not programming languages. (Note that they can embed source code, but that's a side effect.) —Donal Fellows 08:38, 6 July 2009 (UTC)

The primary focus of the developers isn't to produce a programming language. So sed is an editor as are vim and emacs,bc is a calculator, and m4 a macro processor. The fact that they might accomplish RC tasks doesn't mean that they should be considered as programming languages. Shades of grey. --Paddy3118 09:17, 6 July 2009 (UTC)

But the examples of this category are HTML, JSON, SGML, SVG and XML. Their distinguishing feature is that they are not programming languages at all; it happens that they're all data description languages (and yes, can describe or embed programs). —Donal Fellows 09:33, 6 July 2009 (UTC)

In what sense HTML and XML are not programming languages? Computers are programmed. Data is an input or output of a program. I cannot tell what do you mean under "focusing on data". Probably, it is just a confusion with declarative versus imperative approaches to programming. Languages using either declarative or imperative approach are still programming ones. Anyway, so long a language is a computer language it does program that computer. The text in any computer language is called program. So in what sense a computer language can be non-programming? P.S. Note that for HTML/XML, the source code is the text in HTML/XML correspondingly. Just per definition: the source code of a program is a stored text in the language the program was written. --Dmitry-kazakov 09:34, 6 July 2009 (UTC)