人们今天使用的可扩展语言是什么? [英] What are the extensible languages people are using today?

查看:97
本文介绍了人们今天使用的可扩展语言是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

维基百科说:

可扩展编程是计算机科学中的一个术语,用于描述一种计算机编程样式,其重点是扩展编程语言,编译器和运行时环境的机制.

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使您可以编写自己的控制结构.请参见此处.

For example, Tcl lets you write your own control structures. See here.

我对汇编现实世界中正在使用的可扩展编程语言列表感兴趣.如果您还可以提供自己的语言示例,那就太好了.

I'm interested in compiling a list of extensible programming languages that are being used in real-world code. It would be nice if you could supply an example for your language as well.

推荐答案

LISP族(Common Lisp,Guile等)中的语言是 extremely (可扩展)的-比其他任何语言都更具扩展性我曾经用过.可以将其像类固醇上的C宏系统.如果您很无聊,则可以将+运算符重新定义为减法:现在就是可扩展性!

Languages in the LISP family (Common Lisp, Guile, et cetera), are extremely extensible--more so than any other language I have ever used. Think of it like the C macro system on steroids. If you were bored enough, you could redefine the + operator as subtraction: now that is extensibility!

LISP在许多地方已经过时,但 Guile (a Scheme的方言)是 GNU工程的官方扩展语言.

LISP has fallen out of fashion in many places, but Guile (a dialect of Scheme) is the official extension language of the GNU Project.

这篇关于人们今天使用的可扩展语言是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆