真っ黒Scheme

926 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
926
On SlideShare
0
From Embeds
0
Number of Embeds
185
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • 真っ黒Scheme

    1. 1. Scheme yadokarielectric
    2. 2. ID: yadokarielectric • •
    3. 3. ID • y14c • yad-EL • yadokarielectri twitter
    4. 4. twitter id
    5. 5. SICP
    6. 6. Structure and Interpretation of Computer Programs (SICP) • • • 2000/02
    7. 7. • SICP • 167 3 • 86 • 200
    8. 8. SICP
    9. 9. 2009-03-21( ) SICP
    10. 10. 137 users
    11. 11. shiro
    12. 12. id: h_iwk
    13. 13. ---- ---- SICP Scheme Black SICP
    14. 14. Black
    15. 15. Scheme
    16. 16. ktkr!!
    17. 17. ranha FLTV
    18. 18. yad-EL - (2009/07/30 11:54) Black Brown Scheme Scheme
    19. 19. Brown
    20. 20. Scheme Scheme
    21. 21. Scheme Black
    22. 22. http://www.is.titech.ac.jp/ppl2004/proceedings/p017.pdf Scheme Black http://pllab.is.ocha.ac.jp/~asai/papers/papers.html h_iwk
    23. 23. Scheme Scheme
    24. 24. Scheme
    25. 25. SICP 4 Scheme Scheme
    26. 26. Scheme
    27. 27. SICP • • amb
    28. 28. Black •
    29. 29. exec-at-metalevel
    30. 30. • exec-at-metalevel •
    31. 31. 2 1
    32. 32. (define (base-eval exp env cont) (cond ((number? exp) (cont exp)) ((symbol? exp) (eval-var exp env cont)) ((eq? (car exp) ʼif) (eval-if exp env cont)) ((eq? (car exp) ʼdefine) (eval-define exp env cont)) ((eq? (car exp) ʼset!) (eval-set! exp env cont)) ((eq? (car exp) ʼlambda) (eval-lambda exp env cont)) ((eq? (car exp) ʼbegin) (eval-begin (cdr exp) env cont)) ((eq? (car exp) ʼexec-at-metalevel) (eval-EM exp env cont)) (else (eval-application exp env cont)))) (define (eval-application exp env cont) (eval-list exp env (lambda (l) (base-apply (car l) (cdr l) env cont))))
    33. 33. exec-at-metalevel
    34. 34. • base-eval exp • eval-hoge eval-application
    35. 35. trace
    36. 36. Black
    37. 37. • black.scm 480 • env.scm 60
    38. 38. SICP 4
    39. 39. SICP • CPS • Mcont ↑
    40. 40. behavioral 100
    41. 41. Black pe
    42. 42. Black pe
    43. 43. / 10
    44. 44. Black

    ×