What does #+#. mean in lisp?

前端 未结 5 2012
不思量自难忘°
不思量自难忘° 2021-02-18 21:26

It is almost impossible to google, hence my understanding is limited to contextual clues from reading through the slime source code: perhaps it is part of the object system in c

5条回答
  •  盖世英雄少女心
    2021-02-18 21:44

    They're Common Lisp reader macro characters:

    a textual notation introduced by dispatch on one or two characters that defines special-purpose syntax for use by the Lisp reader, and that is implemented by a reader macro function.

    Reader macros should not be confused with regular macros - they have nothing to do with each other.

    The set-dispatch-macro-character function can be used to extend the Common Lisp syntax with custom reader macros.

提交回复
热议问题