Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. 描述
  2. readtable:lisp 的 reader 读取的代码所需要的语法信息都包含在一个叫 readtable 的对象中,
  3. 在其他的方面, readtable 包含了字符串等和语法类型的关联信息。
  4.  
  5. the current readtable: lisp允许有很多个readtable存在, 但同一时刻只允许一个readtable,
  6. 这个 readtable 就叫 current readtable。这个 readtable 会影响lisp reader 将表达式解析成对象
  7. 在动态环境中的 current readtable 是那个环境中的 *readtable* 的值.
  8.  
  9. the standard readtable: the standard readtable 和标准的语法一致, 要想修改或扩充标准的语法, 可以
  10. copy 这个 readtable, 在上面进行修改等
  11.  
  12. the initial readtable: 初始的readtable, 在lisp image启动的时候的current readtable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement