同像性 Homoiconicity
在计算机编程中,同像性是某些编程语言的基本特性,它意味着一个进程的结构与其句法是相似的,因此易于通过阅读进程来推测进程的内在涵义。一门编程语言具备同像性,说明该语言的文本表示(通常指源代码)与其抽象语法树具有相同的结构(即AST和句法同构)。该特性使得代码可以被当作数据来修改或者变换,提供了“代码即数据”的理论前提。 Lisp语言是典型的同像性语言。
单词 | Homoiconic |
释义 |
Homoiconic
中文百科
同像性 Homoiconicity(重定向自Homoiconic)
在计算机编程中,同像性是某些编程语言的基本特性,它意味着一个进程的结构与其句法是相似的,因此易于通过阅读进程来推测进程的内在涵义。一门编程语言具备同像性,说明该语言的文本表示(通常指源代码)与其抽象语法树具有相同的结构(即AST和句法同构)。该特性使得代码可以被当作数据来修改或者变换,提供了“代码即数据”的理论前提。 Lisp语言是典型的同像性语言。
英语百科
Homoiconicity 同像性(重定向自Homoiconic)
In computer programming, homoiconicity (from the Greek words homo meaning the same and icon meaning representation) is a property of some programming languages in which the program structure is similar to its syntax, and therefore the program's internal representation can be inferred by reading the text's layout. If a language is homoiconic, it means that the language text has the same structure as its abstract syntax tree (i.e. the AST and the syntax are isomorphic). This allows all code in the language to be accessed and transformed as data, using the same representation. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。