Guile-Emacs BT Templeton <bpt@hcoop.net> . . . . . . - - PowerPoint PPT Presentation

guile emacs
SMART_READER_LITE
LIVE PREVIEW

Guile-Emacs BT Templeton <bpt@hcoop.net> . . . . . . - - PowerPoint PPT Presentation

. . . . . . Guile-Emacs BT Templeton <bpt@hcoop.net> . . . . . . Guile-Elisp Status Nil Lisp-2 Lexical and dynamic binding Lexical declarations Control flow Variable and function aliases ERT tests


slide-1
SLIDE 1

. . . . . .

Guile-Emacs

BT Templeton <bpt@hcoop.net>

slide-2
SLIDE 2

. . . . . .

Guile-Elisp Status

◮ Nil ◮ Lisp-2 ◮ Lexical and dynamic binding ◮ Lexical declarations ◮ Control flow ◮ Variable and function aliases ◮ ERT tests ◮ Subrs: symbols, lists, I/O, etc. ◮ Buffer-local variables

slide-3
SLIDE 3

. . . . . .

Buffer-local variables

(define (with-context context thunk) (call-with-prompt 'outer (lambda () (with-context-state context (lambda () (call-with-prompt 'inner thunk (lambda (inner-cont escape-thunk) ((abort-to-prompt 'outer inner-cont escape-thunk))))))) (lambda (outer-cont inner-cont escape-thunk) (let ((val (call-with-prompt 'value (lambda () (inner-cont (lambda () (abort-to-prompt 'value (const (escape-thunk))))) (lambda (ignore val) val)))) (with-context context (inner-cont (const val))))))) (define (with-context-state context thunk) (with-fluids* (map car context) (map cdr context) thunk)) (define (escape proc) ((abort-to-prompt 'inner proc)))

slide-4
SLIDE 4

. . . . . .

http://forkingpath.org/guile-emacs/ Questions?