Gauche



         kshikano@ohmsha.co.jp




          1
Gauche



         k16.shikano@gmail.com
         http://k16journal.blogspot.com/




          2
Gauche




3
4
Scheme




         5
Scheme


2        Gauche.Night




           6
Scheme


2        Gauche.Night




           7
Gauche
Gauche




         8
— Shiro   Wiliki




9
— Shiro        Wiliki
               Gauche + SXML
SXML       M                   Gauche
   LaTeX




                10
11
Gauche




  12
Gauche   Perl   Ruby




          13
Gauche   Perl   Ruby




          14
Gauche   Perl   Ruby




          15
Gauche   Perl   Ruby




          16
Gauche
(regexp-replace-all* manuscript
  #/( ) ([        ])/ quot;12quot;)




                      17
Gauche
(regexp-replace-all* manuscript
  #/( ) ([        ])/ quot;12quot;)




                      18
19
Gauche
         c-wrapper




                20
hurigana.scm

LaTeX


(c-load-library quot;/usr/lib/libkakasi.so.2.1.0quot;)
(c-include quot;/usr/include/libkakasi.hquot;...
22
xml-trivial.scm
               XML
(define (read-xml)
  (define (in-tag c tag)
   (cond ((eof-object? c)
             (err...
xml-trivial.scm
               XML


(define (read-xml)
  (define (in-tag c tag)
   (cond ((eof-object? c)
             (e...
xml2tex.scm
XML
                                 LaTeX


(define (make-p name)
  (define-rule
      (lambda ()
        (re...
xml2tex.scm
XML
                                 LaTeX



(define (make-p name)
  (define-rule
      (lambda ()
        (r...
xml2tex.scm
XML
                   LaTeX




XML            xml2tex.scm   LaTeX




              27
xml2tex.scm
XML
                   LaTeX




XML            xml2tex.scm   LaTeX




              28
xml2tex.scm             XML
make                       PDF

              Subversion




                   29
kshikano@ohmsha.co.jp
k16.shikano@gmail.com




         30
Upcoming SlideShare
Loading in …5
×

Gaucheで本を作る

3,992 views
3,841 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,992
On SlideShare
0
From Embeds
0
Number of Embeds
62
Actions
Shares
0
Downloads
11
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Gaucheで本を作る

  1. 1. Gauche kshikano@ohmsha.co.jp 1
  2. 2. Gauche k16.shikano@gmail.com http://k16journal.blogspot.com/ 2
  3. 3. Gauche 3
  4. 4. 4
  5. 5. Scheme 5
  6. 6. Scheme 2 Gauche.Night 6
  7. 7. Scheme 2 Gauche.Night 7
  8. 8. Gauche Gauche 8
  9. 9. — Shiro Wiliki 9
  10. 10. — Shiro Wiliki Gauche + SXML SXML M Gauche LaTeX 10
  11. 11. 11
  12. 12. Gauche 12
  13. 13. Gauche Perl Ruby 13
  14. 14. Gauche Perl Ruby 14
  15. 15. Gauche Perl Ruby 15
  16. 16. Gauche Perl Ruby 16
  17. 17. Gauche (regexp-replace-all* manuscript #/( ) ([ ])/ quot;12quot;) 17
  18. 18. Gauche (regexp-replace-all* manuscript #/( ) ([ ])/ quot;12quot;) 18
  19. 19. 19
  20. 20. Gauche c-wrapper 20
  21. 21. hurigana.scm LaTeX (c-load-library quot;/usr/lib/libkakasi.so.2.1.0quot;) (c-include quot;/usr/include/libkakasi.hquot;) (define (kanji->hira str) (let ((base-ces quot;utf-8quot;) (kakasi-ces quot;iso2022jpquot;)) (kakasi_close_kanwadict) (kakasi_getopt_argv 2 ’(quot;kakasiquot; quot;-JHquot;)) ... 21
  22. 22. 22
  23. 23. xml-trivial.scm XML (define (read-xml) (define (in-tag c tag) (cond ((eof-object? c) (error quot;EOF while tagquot; tag)) ((char=? # c) (in-escaped (read-char) (string+char tag c))) ... 23
  24. 24. xml-trivial.scm XML (define (read-xml) (define (in-tag c tag) (cond ((eof-object? c) (error quot;EOF while tagquot; tag)) ((char=? # c) (in-escaped (read-char) (string+char tag c))) ... 24
  25. 25. xml2tex.scm XML LaTeX (define (make-p name) (define-rule (lambda () (receive (vskip hskip) (values (ifstr ($@ ’vskip) (cut list quot;vskipquot; <> quot;nquot;)) ... (define-simple-rules make-p p0 p1 p2 p3) 25
  26. 26. xml2tex.scm XML LaTeX (define (make-p name) (define-rule (lambda () (receive (vskip hskip) (values (ifstr ($@ ’vskip) (cut list quot;vskipquot; <> quot;nquot;)) ... (define-simple-rules make-p p0 p1 p2 p3) 26
  27. 27. xml2tex.scm XML LaTeX XML xml2tex.scm LaTeX 27
  28. 28. xml2tex.scm XML LaTeX XML xml2tex.scm LaTeX 28
  29. 29. xml2tex.scm XML make PDF Subversion 29
  30. 30. kshikano@ohmsha.co.jp k16.shikano@gmail.com 30

×