What is the difference between a language and a framework?

后端 未结 6 1310
野趣味
野趣味 2020-12-30 05:07

Can someone give me a clear, concise definition of the difference between a programming language and a framework? I have scoured the web and been unable to find an adequate

6条回答
  •  悲&欢浪女
    2020-12-30 05:43

    Regarding the clear line between language and framework, i suppose you can count DSLs (Domain Specific Languages) as constructs that are both a Language and a Framework ( as it is a Framework in the original Language it is build upon).

    Lisp is the only language i can think of now that may blur such distinction:

    "The name LISP derives from "LISt Processing". Linked lists are one of Lisp languages' major data structures, and Lisp source code is itself made up of lists. As a result, Lisp programs can manipulate source code as a data structure, giving rise to the macro systems that allow programmers to create new syntax or even new domain-specific languages embedded in Lisp."

    http://en.wikipedia.org/wiki/Lisp_(programming_language)

提交回复
热议问题