维基百科说:
Extensible programming is a term used in computer science to describe a style of computer programming that focuses on mechanisms to extend the programming language, compiler and runtime environment.
例如,Tcl 允许您编写自己的控制结构。见 here .
我对编译在现实世界代码中使用的可扩展编程语言列表很感兴趣。如果您也可以为您的语言提供一个示例,那就太好了。
最佳答案
LISP 家族中的语言(Common Lisp、Guile 等)具有极强的可扩展性——比我使用过的任何其他语言都要好。把它想象成类固醇上的 C 宏系统。如果你够无聊,你可以将 + 运算符重新定义为减法:现在这就是可扩展性!
LISP 在很多地方已经过时了,但是 Guile (Scheme 的一种方言)是 GNU Project 的官方扩展语言.
关于language-agnostic - 人们今天使用的可扩展语言是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1924363/