Source: Global lexical variable? (google.com)
Global lexical variable?
> > I'm working my way through _On_Lisp_ (Paul Graham, 1994), and got to > chapter 20 where he discusses continuation passing macros. Now, I > understand all about the macros and how they work, but his example > does a > > (setq *cont* #'identity) > > to s
groups.google.com
(defmacro deflexical (var &optional init doc)
`(progn (define-symbol-macro ,var (get ',var 'lexical))
(setf ,var ,init)
(setf (get ',var 'lexical-doc) ',doc)
',var))
'Programming' 카테고리의 다른 글
VS Code에서 Common Lisp 프로그래밍 (0) | 2023.10.26 |
---|---|
newLISP 10.7.1 installer (0) | 2023.10.19 |
ISLISP specification (Programming Language ISLISP - ISLISP Working Draft 23.0) (0) | 2023.10.08 |
C, C# - 콘솔 창 출력 인코딩 변경 (0) | 2023.10.05 |
C언어의 feof() 함수 사용에 대해 (1) | 2023.10.05 |