How does Lisp let you redefine the language itself?

后端 未结 7 435
心在旅途
心在旅途 2020-12-22 20:23

I\'ve heard that Lisp lets you redefine the language itself, and I have tried to research it, but there is no clear explanation anywhere. Does anyone have a simple example?<

相关标签:
7条回答
  • 2020-12-22 21:27

    From the outside, looking in...

    I always thought it was because Lisp provided, at its core, such basic, atomic logical operators that any logical process can be built (and has been built and provided as toolsets and add-ins) from the basic components.

    It is not so much that it can redefine itself as that its basic definition is so malleable that it can take any form and that no form is assumed/presumed into the structure.

    As a metaphor, if you only have organic compounds you do organic chemistry, if you only have metal oxides you do metallurgy but if you have only elements you can do everything but you have extra initial steps to complete....most of which others have already done for you....

    I think.....

    0 讨论(0)
提交回复
热议问题