Re:Code Length Measured in 14 Languages
by Locke1689 on Wednesday November 14, 2012 @01:24PM
(#4784648)
Mathematica is certainly a domain-specific language. Its domain is symbolic mathematics.
You may be unfamiliar with the term "DSL." It refers to a language designed for solving a specific computational task.
This was, in fact, the stated goal of Mathematica. DSL does not mean the language cannot solve other tasks, only that it was meant for solving a specific one.
Re:Code Length Measured in 14 Languages
by tokipin on Wednesday November 14, 2012 @05:07PM
(#4785859)
i don't think it's a DSL. its evaluation paradigm is symbolic in the same way you would say Java's paradigm is OOP, yet we wouldn't say Java is an OOP DSL even if that's true in some technical sense
in this respect i think the name "Mathematica" does a disservice to the system. originally it may have been intended for math, but in its current form it's more like a general prototyping/presentation/construction system that makes thorough use of its capacity as a research platform
As I said in response to mumrah, Mathematica is not a DSL. You might argue that a lot of 'library' counts as language in Mathematica, but not that you can't write general purpose applications.