Changeset 20769 in project


Ignore:
Timestamp:
10/10/10 20:02:42 (11 years ago)
Author:
sjamaan
Message:

Copy and modify the eggref/3 pages for the following eggs to eggref/4:
autoload
loopy-loop
freetype
ioctl
stty
c3
charconv
date-literals
foof-loop
vfs
sxml-templates

Location:
wiki/eggref
Files:
5 edited
12 copied

Legend:

Unmodified
Added
Removed
  • wiki/eggref/3/free-gettext

    r13621 r20769  
    1212=== Introduction
    1313
    14  '''procedure:''' (textdomain [<name>])
    15  '''procedure:''' (gettext <message>)
     14<procedure>(textdomain [<name>])</procedure>
     15<procedure>(gettext <message>)</procedure>
    1616
    1717<enscript highlight=scheme>
     
    8181As with GNU gettext, the following are provided:
    8282
    83  '''procedure:''' (dgettext <domain> <message>)
    84  '''procedure:''' (dcgettext <domain> <message> <locale>)
    85  '''procedure:''' (dngettext <domain> <msg-singular> <msg-plural> <n>)
    86  '''procedure:''' (dcngettext <domain> <msg-singular> <msg-plural> <n> <locale>)
     83<procedure>(dgettext <domain> <message>)</procedure>
     84<procedure>(dcgettext <domain> <message> <locale>)</procedure>
     85<procedure>(dngettext <domain> <msg-singular> <msg-plural> <n>)</procedure>
     86<procedure>(dcngettext <domain> <msg-singular> <msg-plural> <n> <locale>)</procedure>
    8787
    8888These let you lookup messages in domains other than that specified
     
    9292below.
    9393
    94  '''procedure:''' (bindtextdomain <domain> <dirname>)
     94<procedure>(bindtextdomain <domain> <dirname>)</procedure>
    9595
    9696Override the directory to look for the given domain in.
     
    124124to generate separate first class gettext procedures.
    125125
    126  '''procedure:''' (make-gettext domain [locale] [dirs] [cdir] [cached?] [lookup-cached?])
     126<procedure>(make-gettext domain [locale] [dirs] [cdir] [cached?] [lookup-cached?])</procedure>
    127127
    128128DOMAIN is the same as the first argument to TEXTDOMAIN, and may be
  • wiki/eggref/3/freetype

    r13621 r20769  
    2727=== Procedures
    2828
    29  '''procedure:''' (ft-init-freetype) => <error-code>
     29<procedure>(ft-init-freetype) => <error-code></procedure>
    3030
    3131Create a new freetype library object.
    3232
    33  '''procedure:''' (ft-new-face <lib> <path>) => <face>
     33<procedure>(ft-new-face <lib> <path>) => <face></procedure>
    3434
    3535Load a font face from a file.  Returns #f if the file can't be loaded.
    3636
    37  '''procedure:''' (ft-set-char-size <face> <char-width> <char-height> <hres> <vres>) => <error-code>
    38 
    39  '''procedure:''' (ft-set-pixel-size <face> <pixel-width> <pixel-height>) => <error-code>
    40 
    41  '''procedure:''' (ft-get-char-index <face> <char-code>) => <glyph-index>
    42 
    43  '''procedure:''' (ft-load-glyph <face> <glyph-index> <load-flags>) => <error-code>
    44 
    45  '''procedure:''' (ft-load-char <face> <char-code> <load-flags>) => <error-code>
    46 
    47  '''procedure:''' (ft-render-glyph <glyph> <render-flags>) => <error-code>
    48 
    49  '''procedure:''' (ft-get-kerning <face> <left> <right> <kerning-mode> <vector>) => <error-code>
    50 
    51  '''procedure:''' (ft-select-charmap <face> <charmap-index>) => <error-code>
    52 
    53  '''procedure:''' (ft-set-transform <face> <matrix> <delta>)
     37<procedure>(ft-set-char-size <face> <char-width> <char-height> <hres> <vres>) => <error-code></procedure>
     38
     39<procedure>(ft-set-pixel-size <face> <pixel-width> <pixel-height>) => <error-code></procedure>
     40
     41<procedure>(ft-get-char-index <face> <char-code>) => <glyph-index></procedure>
     42
     43<procedure>(ft-load-glyph <face> <glyph-index> <load-flags>) => <error-code></procedure>
     44
     45<procedure>(ft-load-char <face> <char-code> <load-flags>) => <error-code></procedure>
     46
     47<procedure>(ft-render-glyph <glyph> <render-flags>) => <error-code></procedure>
     48
     49<procedure>(ft-get-kerning <face> <left> <right> <kerning-mode> <vector>) => <error-code></procedure>
     50
     51<procedure>(ft-select-charmap <face> <charmap-index>) => <error-code></procedure>
     52
     53<procedure>(ft-set-transform <face> <matrix> <delta>)</procedure>
    5454
    5555=== Records
  • wiki/eggref/3/ioctl

    r13621 r20769  
    1717== Procedures
    1818
    19 * (ioctl-winsize [<port-or-fileno>])
     19<procedure>(ioctl-winsize [<port-or-fileno>])</procedure>
    2020
    2121Returns a list of the form (<num-rows> <num-columns>) for the
    2222given port or file descriptor, defaulting to current-output-port.
    2323
    24 * (ioctl <port-or-fileno> <request> [<args> ...])
     24<procedure>(ioctl <port-or-fileno> <request> [<args> ...])</procedure>
    2525
    2626Makes the given ioctl request with any arguments provided.  The
  • wiki/eggref/3/sxml-templates

    r14119 r20769  
    3838=== Using with Spiffy
    3939
    40 <enscript highlight=scheme>(use sxml-templates spiffy)
     40<enscript highlight=scheme>
     41(use sxml-templates spiffy)
    4142
    4243(define (my-app:read-sxml-template basename)
     
    8990=== make-sxml-template
    9091
    91  [procedure] (make-sxml-template sxml)
     92<procedure>(make-sxml-template sxml)</procedure>
    9293
    9394Where {{sxml}} is an SXML expression.  Returns a {{sxml-template}} record.
     
    9596=== sxml-template:fill
    9697
    97  [procedure] (sxml-template:fill sxml-template namespace)
     98<procedure>(sxml-template:fill sxml-template namespace)</procedure>
    9899
    99100Where {{sxml-template}} is a {{sxml-template}} record and {{namespace}} is an
     
    114115=== sxml-template?
    115116
    116   [procedure] (sxml-template? x)
     117<procedure>(sxml-template? x)</procedure>
    117118
    118119Returns a boolean indicating whether {{x}} is of the {{sxml-template}} record
     
    121122=== sxml-template:filled?
    122123
    123  [procedure] (sxml-template:filled? sxml-template)
     124<procedure>(sxml-template:filled? sxml-template)</procedure>
    124125
    125126Returns a boolean indicating whether {{sxml-template}} has been filled (see
     
    139140=== sxml-template:fill-string
    140141
    141  [procedure] (sxml-template:fill-string sxml-template namespace)
     142<procedure>(sxml-template:fill-string sxml-template namespace)</procedure>
    142143
    143144Similar to {{sxml-template:fill}}, but results in an XML string.  Defined as
     
    146147=== sxml-template->string
    147148
    148  [procedure] (sxml-template->string sxml-template)
     149<procedure>(sxml-template->string sxml-template)</procedure>
    149150
    150151Converts a filled {{sxml-template}} record (as returned by
  • wiki/eggref/3/vfs

    r14119 r20769  
    3131=== class vfs:file-system
    3232
    33  [class] <vfs:file-system>
     33<class><vfs:file-system></class>
    3434
    3535Represents an object that can be accessed via file-system operations.
     
    3838=== vfs:open-output-file
    3939
    40  [generic] (vfs:open-file FILESYSTEM PATHNAME OUTPUT? MODES)
    41  [generic] (vfs:open-input-file FILESYSTEM PATHNAME MODES)
    42  [generic] (vfs:open-output-file FILESYSTEM PATHNAME MODES)
     40<method>(vfs:open-file FILESYSTEM PATHNAME OUTPUT? MODES)</method>
     41<method>(vfs:open-input-file FILESYSTEM PATHNAME MODES)</method>
     42<method>(vfs:open-output-file FILESYSTEM PATHNAME MODES)</method>
    4343
    4444Called for {{FILESYSTEM}} (an instance of {{<vfs:file-system>}}) when a file
     
    6262=== vfs:file-exists?
    6363
    64  [generic] (vfs:file-exists? FILESYSTEM PATHNAME)
     64<method>(vfs:file-exists? FILESYSTEM PATHNAME)</method>
    6565
    6666Called for {{file-exists?}} when the given pathname refers to {{FILESYSTEM}}.
     
    6969=== vfs:delete-file
    7070
    71  [generic] (vfs:delete-file FILESYSTEM PATHNAME)
     71<method>(vfs:delete-file FILESYSTEM PATHNAME)</method>
    7272
    7373Called for {{delete-file!}} and should delete the entity represented by
     
    7676=== vfs:rename-file
    7777
    78  [generic] (vfs:rename-file FILESYSTEM OLDPATHNAME NEWPATHNAME)
     78<method>(vfs:rename-file FILESYSTEM OLDPATHNAME NEWPATHNAME)</method>
    7979
    8080Called for {{rename-file}}.
     
    8282=== vfs:register-file-system
    8383
    84  [procedure] (vfs:register-file-system SCHEME FILESYSTEM)
     84<procedure>(vfs:register-file-system SCHEME FILESYSTEM)</procedure>
    8585
    8686Registers a filesystem prefix named {{SCHEME}} (a string) for
     
    9393=== vfs:unregister-file-system
    9494
    95  [procedure] (vfs:unregister-file-system SCHEME)
     95<procedure>(vfs:unregister-file-system SCHEME)</procedure>
    9696
    9797Un-registers a filesystem prefix.
     
    9999=== class vfs:local-file-system
    100100
    101  [class] <vfs:local-file-system>
     101<class><vfs:local-file-system></class>
    102102
    103103A subclass of {{<vfs:file-system>}} representing the default local,
     
    106106=== vfs:current-file-system
    107107
    108  [parameter] vfs:current-file-system
     108<parameter>vfs:current-file-system</parameter>
    109109
    110110Holds the current file system, which is used if a pathname has no
  • wiki/eggref/4/autoload

    r20758 r20769  
    1616
    1717None
    18 
    19 === Download
    20 
    21 [[http://www.call-with-current-continuation.org/eggs/autoload.egg|autoload.egg]]
    2218
    2319=== Documentation
  • wiki/eggref/4/c3

    r20758 r20769  
    1818
    1919The [[tinyclos]] egg.
    20 
    21 === Download
    22 
    23 [[http://www.call-with-current-continuation.org/eggs/c3.egg|c3.egg]]
    2420
    2521=== Documentation
  • wiki/eggref/4/charconv

    r20758 r20769  
    1717* [[iconv]]
    1818* [[autoload]]
    19 
    20 === Download
    21 
    22 [[http://www.call-with-current-continuation.org/eggs/charconv.egg|charconv.egg]]
    2319
    2420=== Documentation
  • wiki/eggref/4/foof-loop

    r20758 r20769  
    1414== Requirements
    1515
    16 This extension uses {{syntax-rules}} macros and thus
    17 requires one of the following:
    18 
    19 * [[http://www.call-with-current-continuation.org/eggs/syntax-case.html|syntax-case]]
    20 * [[syntactic-closures]]
    21 * [[rex]]
    22 * [[alexpander]]
     16None
    2317
    2418== Introduction
  • wiki/eggref/4/free-gettext

    r20758 r20769  
    1212=== Introduction
    1313
    14  '''procedure:''' (textdomain [<name>])
    15  '''procedure:''' (gettext <message>)
     14<procedure>(textdomain [<name>])</procedure>
     15<procedure>(gettext <message>)</procedure>
    1616
    1717<enscript highlight=scheme>
     
    8181As with GNU gettext, the following are provided:
    8282
    83  '''procedure:''' (dgettext <domain> <message>)
    84  '''procedure:''' (dcgettext <domain> <message> <locale>)
    85  '''procedure:''' (dngettext <domain> <msg-singular> <msg-plural> <n>)
    86  '''procedure:''' (dcngettext <domain> <msg-singular> <msg-plural> <n> <locale>)
     83<procedure>(dgettext <domain> <message>)</procedure>
     84<procedure>(dcgettext <domain> <message> <locale>)</procedure>
     85<procedure>(dngettext <domain> <msg-singular> <msg-plural> <n>)</procedure>
     86<procedure>(dcngettext <domain> <msg-singular> <msg-plural> <n> <locale>)</procedure>
    8787
    8888These let you lookup messages in domains other than that specified
     
    9292below.
    9393
    94  '''procedure:''' (bindtextdomain <domain> <dirname>)
     94<procedure>(bindtextdomain <domain> <dirname>)</procedure>
    9595
    9696Override the directory to look for the given domain in.
     
    124124to generate separate first class gettext procedures.
    125125
    126  '''procedure:''' (make-gettext domain [locale] [dirs] [cdir] [cached?] [lookup-cached?])
     126<procedure>(make-gettext domain [locale] [dirs] [cdir] [cached?] [lookup-cached?])</procedure>
    127127
    128128DOMAIN is the same as the first argument to TEXTDOMAIN, and may be
  • wiki/eggref/4/freetype

    r20758 r20769  
    2727=== Procedures
    2828
    29  '''procedure:''' (ft-init-freetype) => <error-code>
     29<procedure>(ft-init-freetype) => <error-code></procedure>
    3030
    3131Create a new freetype library object.
    3232
    33  '''procedure:''' (ft-new-face <lib> <path>) => <face>
     33<procedure>(ft-new-face <lib> <path>) => <face></procedure>
    3434
    3535Load a font face from a file.  Returns #f if the file can't be loaded.
    3636
    37  '''procedure:''' (ft-set-char-size <face> <char-width> <char-height> <hres> <vres>) => <error-code>
    38 
    39  '''procedure:''' (ft-set-pixel-size <face> <pixel-width> <pixel-height>) => <error-code>
    40 
    41  '''procedure:''' (ft-get-char-index <face> <char-code>) => <glyph-index>
    42 
    43  '''procedure:''' (ft-load-glyph <face> <glyph-index> <load-flags>) => <error-code>
    44 
    45  '''procedure:''' (ft-load-char <face> <char-code> <load-flags>) => <error-code>
    46 
    47  '''procedure:''' (ft-render-glyph <glyph> <render-flags>) => <error-code>
    48 
    49  '''procedure:''' (ft-get-kerning <face> <left> <right> <kerning-mode> <vector>) => <error-code>
    50 
    51  '''procedure:''' (ft-select-charmap <face> <charmap-index>) => <error-code>
    52 
    53  '''procedure:''' (ft-set-transform <face> <matrix> <delta>)
     37<procedure>(ft-set-char-size <face> <char-width> <char-height> <hres> <vres>) => <error-code></procedure>
     38
     39<procedure>(ft-set-pixel-size <face> <pixel-width> <pixel-height>) => <error-code></procedure>
     40
     41<procedure>(ft-get-char-index <face> <char-code>) => <glyph-index></procedure>
     42
     43<procedure>(ft-load-glyph <face> <glyph-index> <load-flags>) => <error-code></procedure>
     44
     45<procedure>(ft-load-char <face> <char-code> <load-flags>) => <error-code></procedure>
     46
     47<procedure>(ft-render-glyph <glyph> <render-flags>) => <error-code></procedure>
     48
     49<procedure>(ft-get-kerning <face> <left> <right> <kerning-mode> <vector>) => <error-code></procedure>
     50
     51<procedure>(ft-select-charmap <face> <charmap-index>) => <error-code></procedure>
     52
     53<procedure>(ft-set-transform <face> <matrix> <delta>)</procedure>
    5454
    5555=== Records
  • wiki/eggref/4/ioctl

    r20758 r20769  
    1111as the even higher-level stty egg.
    1212
    13 == Download
    14 
    15 [[http://www.call-with-current-continuation.org/eggs/ioctl.egg|ioctl.egg]]
    16 
    1713== Procedures
    1814
    19 * (ioctl-winsize [<port-or-fileno>])
     15<procedure>(ioctl-winsize [<port-or-fileno>])</procedure>
    2016
    2117Returns a list of the form (<num-rows> <num-columns>) for the
    2218given port or file descriptor, defaulting to current-output-port.
    2319
    24 * (ioctl <port-or-fileno> <request> [<args> ...])
     20<procedure>(ioctl <port-or-fileno> <request> [<args> ...])</procedure>
    2521
    2622Makes the given ioctl request with any arguments provided.  The
  • wiki/eggref/4/loopy-loop

    r20758 r20769  
    509509=== Requirements
    510510
    511 [[http://www.call-with-current-continuation.org/eggs/syntax-case.html|syntax-case]]
    512 or [[syntactic-closures]]
    513 
    514511[[matchable]]
    515 
    516512
    517513=== License
  • wiki/eggref/4/sxml-templates

    r20758 r20769  
    3838=== Using with Spiffy
    3939
    40 <enscript highlight=scheme>(use sxml-templates spiffy)
     40'''TODO''': This is for Spiffy for Chicken 3.  Needs updating to a recent Spiffy.
     41
     42<enscript highlight=scheme>
     43(use sxml-templates spiffy)
    4144
    4245(define (my-app:read-sxml-template basename)
     
    8992=== make-sxml-template
    9093
    91  [procedure] (make-sxml-template sxml)
     94<procedure>(make-sxml-template sxml)</procedure>
    9295
    9396Where {{sxml}} is an SXML expression.  Returns a {{sxml-template}} record.
     
    9598=== sxml-template:fill
    9699
    97  [procedure] (sxml-template:fill sxml-template namespace)
     100<procedure>(sxml-template:fill sxml-template namespace)</procedure>
    98101
    99102Where {{sxml-template}} is a {{sxml-template}} record and {{namespace}} is an
     
    114117=== sxml-template?
    115118
    116   [procedure] (sxml-template? x)
     119<procedure>(sxml-template? x)</procedure>
    117120
    118121Returns a boolean indicating whether {{x}} is of the {{sxml-template}} record
     
    121124=== sxml-template:filled?
    122125
    123  [procedure] (sxml-template:filled? sxml-template)
     126<procedure>(sxml-template:filled? sxml-template)</procedure>
    124127
    125128Returns a boolean indicating whether {{sxml-template}} has been filled (see
     
    139142=== sxml-template:fill-string
    140143
    141  [procedure] (sxml-template:fill-string sxml-template namespace)
     144<procedure>(sxml-template:fill-string sxml-template namespace)</procedure>
    142145
    143146Similar to {{sxml-template:fill}}, but results in an XML string.  Defined as
     
    146149=== sxml-template->string
    147150
    148  [procedure] (sxml-template->string sxml-template)
     151<procedure>(sxml-template->string sxml-template)</procedure>
    149152
    150153Converts a filled {{sxml-template}} record (as returned by
  • wiki/eggref/4/vfs

    r20758 r20769  
    3131=== class vfs:file-system
    3232
    33  [class] <vfs:file-system>
     33<class><vfs:file-system></class>
    3434
    3535Represents an object that can be accessed via file-system operations.
     
    3838=== vfs:open-output-file
    3939
    40  [generic] (vfs:open-file FILESYSTEM PATHNAME OUTPUT? MODES)
    41  [generic] (vfs:open-input-file FILESYSTEM PATHNAME MODES)
    42  [generic] (vfs:open-output-file FILESYSTEM PATHNAME MODES)
     40<method>(vfs:open-file FILESYSTEM PATHNAME OUTPUT? MODES)</method>
     41<method>(vfs:open-input-file FILESYSTEM PATHNAME MODES)</method>
     42<method>(vfs:open-output-file FILESYSTEM PATHNAME MODES)</method>
    4343
    4444Called for {{FILESYSTEM}} (an instance of {{<vfs:file-system>}}) when a file
     
    6262=== vfs:file-exists?
    6363
    64  [generic] (vfs:file-exists? FILESYSTEM PATHNAME)
     64<method>(vfs:file-exists? FILESYSTEM PATHNAME)</method>
    6565
    6666Called for {{file-exists?}} when the given pathname refers to {{FILESYSTEM}}.
     
    6969=== vfs:delete-file
    7070
    71  [generic] (vfs:delete-file FILESYSTEM PATHNAME)
     71<method>(vfs:delete-file FILESYSTEM PATHNAME)</method>
    7272
    7373Called for {{delete-file!}} and should delete the entity represented by
     
    7676=== vfs:rename-file
    7777
    78  [generic] (vfs:rename-file FILESYSTEM OLDPATHNAME NEWPATHNAME)
     78<method>(vfs:rename-file FILESYSTEM OLDPATHNAME NEWPATHNAME)</method>
    7979
    8080Called for {{rename-file}}.
     
    8282=== vfs:register-file-system
    8383
    84  [procedure] (vfs:register-file-system SCHEME FILESYSTEM)
     84<procedure>(vfs:register-file-system SCHEME FILESYSTEM)</procedure>
    8585
    8686Registers a filesystem prefix named {{SCHEME}} (a string) for
     
    9393=== vfs:unregister-file-system
    9494
    95  [procedure] (vfs:unregister-file-system SCHEME)
     95<procedure>(vfs:unregister-file-system SCHEME)</procedure>
    9696
    9797Un-registers a filesystem prefix.
     
    9999=== class vfs:local-file-system
    100100
    101  [class] <vfs:local-file-system>
     101<class><vfs:local-file-system></class>
    102102
    103103A subclass of {{<vfs:file-system>}} representing the default local,
     
    106106=== vfs:current-file-system
    107107
    108  [parameter] vfs:current-file-system
     108<parameter>vfs:current-file-system</parameter>
    109109
    110110Holds the current file system, which is used if a pathname has no
Note: See TracChangeset for help on using the changeset viewer.