c0.mes, c1.mes: update.

This commit is contained in:
Jan Nieuwenhuizen 2016-07-18 20:25:16 +02:00
parent be2326f351
commit 8706d7e938
3 changed files with 20 additions and 3 deletions

1
TODO
View file

@ -5,6 +5,7 @@
** bugs ** bugs
*** v c0.mes *** v c0.mes
*** v closure.mes *** v closure.mes
*** c1.mes
*** v using (let () ...) in macro.mes/syntax.mes *** v using (let () ...) in macro.mes/syntax.mes
*** syntax.mes: closuring name? etc in syntax.mes *** syntax.mes: closuring name? etc in syntax.mes
*** syntax.mes: closuring: indicators: eval: no such symbol: --- *** syntax.mes: closuring: indicators: eval: no such symbol: ---

6
c0.mes
View file

@ -8,11 +8,11 @@
;; 1 ;; 1
(define b 0) (define b 0)
;;(define x (lambda () b)) (define x (lambda () b))
(define (x) b) (define (x) b)
;;(display (x)) (display (x))
;;(newline) (newline)
(define (c b) (define (c b)
(display (x)) (display (x))
(newline) (newline)

16
c1.mes Normal file
View file

@ -0,0 +1,16 @@
;; guile: 00
;; mes: 01
(define (x)
(define b 1)
(define (y) b)
(set! b 0)
(display b)
(let ((b 2))
(y))
)
(display (x))
(newline)
""