Changeset 17815 in project


Ignore:
Timestamp:
04/14/10 16:08:14 (10 years ago)
Author:
felix winkelmann
Message:

merged manual changes from master

Location:
wiki/man/4
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/4/Acknowledgements

    r17537 r17815  
    2020Andreas Gustafsson, Sven Hartrumpf, Jun-ichiro itojun Hagino, Ahdi
    2121Hargo, Matthias Heiler, Karl M. Hegbloom, William P. Heinemann, Bill
    22 Hoffman, Bruce Hoult, Hans Huebner, Markus Huelsmann, Goetz Isenmann,
    23 Paulo Jabardo, Wietse Jacobs, David Janssens, Christian Jaeger, Matt
    24 Jones, Dale Jordan, Valentin Kamyshenko, Daishi Kato, Peter Keller,
    25 Brad Kind, Ron Kneusel, Matthias Koeppe, Krysztof Kowałczyk,
    26 Andre Kuehne, Todd R. Kueny Sr, Goran Krampe, David Krentzlin, Ben
    27 Kurtz, Micky Latowicki, John Lenz, Kirill Lisovsky, Juergen Lorenz,
    28 Kon Lovett, Lam Luu, Leonardo Valeri Manera, Dennis Marti, Charles
    29 Martin, Bob McIsaac, Alain Mellan, Eric Merrit, Perry Metzger, Scott
    30 G. Miller, Mikael, Bruce Mitchener, Fadi Moukayed, Chris Moline, Eric
    31 E. Moore, Julian Morrison, Dan Muresan, David N. Murray, Lars Nilsson,
    32 Ian Oversby, o.t., Gene Pavlovsky, Levi Pearson, Jeronimo Pellegrini,
    33 Nicolas Pelletier, Derrell Piper, Carlos Pita, Robin Lee Powell,
    34 Pupeno, Davide Puricelli, presto, Doug Quale, Eric Raible, Ivan
    35 Raikov, Joel Reymont, Eric Rochester, Andreas Rottman, David Rush,
    36 Lars Rustemeier, Daniel Sadilek, Oskar Schirmer, Burton Samograd, Reed
    37 Sheridan, Ronald Schroeder, Spencer Schumann, Ivan Shcheklein, Alex
    38 Shinn, Ivan Shmakov, Shmul, Tony Sidaway, Jeffrey B. Siegal, Andrey
    39 Sidorenko, Michele Simionato, Volker Stolz, Jon Strait, Dorai Sitaram,
    40 Robert Skeels, Jason Songhurst, Clifford Stein, Sunnan, Zbigniew
    41 Szadkowski, Rick Taube, Nathan Thern, Mike Thomas, Minh Thu, Christian
    42 Tismer, Andre van Tonder, John Tobey, Henrik Tramberend, Vladimir
    43 Tsichevsky, Neil van Dyke, Sam Varner, Taylor Venable, Sander Vesik,
    44 Jaques Vidrine, Panagiotis Vossos, Shawn Wagner, Peter Wang, Ed
    45 Watkeys, Brad Watson, Thomas Weidner, Goeran Weinholt, Matthew
    46 Welland, Drake Wilson, Joerg Wittenberger, Peter Wright, Mark Wutka,
    47 Richard Zidlicky and Houman Zolfaghari for bug-fixes, tips and
    48 suggestions.
     22Hoffman, Bruce Hoult, Hans Hübner, Markus Huelsmann, Goetz
     23Isenmann, Paulo Jabardo, Wietse Jacobs, David Janssens, Christian
     24Jaeger, Matt Jones, Dale Jordan, Valentin Kamyshenko, Daishi Kato,
     25Peter Keller, Brad Kind, Ron Kneusel, Matthias Koeppe, Krysztof
     26Kowałczyk, Andre Kuehne, Todd R. Kueny Sr, Goran Krampe, David
     27Krentzlin, Ben Kurtz, Micky Latowicki, John Lenz, Kirill Lisovsky,
     28Juergen Lorenz, Kon Lovett, Lam Luu, Vitaly Magerya, Leonardo Valeri
     29Manera, Dennis Marti, Charles Martin, Bob McIsaac, Alain Mellan, Eric
     30Merrit, Perry Metzger, Scott G. Miller, Mikael, Bruce Mitchener, Fadi
     31Moukayed, Chris Moline, Eric E. Moore, Julian Morrison, Dan Muresan,
     32David N. Murray, Lars Nilsson, Ian Oversby, o.t., Gene Pavlovsky, Levi
     33Pearson, Jeronimo Pellegrini, Nicolas Pelletier, Derrell Piper, Carlos
     34Pita, Robin Lee Powell, Pupeno, Davide Puricelli, presto, Doug Quale,
     35Eric Raible, Ivan Raikov, Joel Reymont, Eric Rochester, Andreas
     36Rottman, David Rush, Lars Rustemeier, Daniel Sadilek, Oskar Schirmer,
     37Burton Samograd, Reed Sheridan, Ronald Schroeder, Spencer Schumann,
     38Ivan Shcheklein, Alex Shinn, Ivan Shmakov, Shmul, Tony Sidaway,
     39Jeffrey B. Siegal, Andrey Sidorenko, Michele Simionato, Volker Stolz,
     40Jon Strait, Dorai Sitaram, Robert Skeels, Jason Songhurst, Clifford
     41Stein, Sunnan, Zbigniew Szadkowski, Rick Taube, Nathan Thern, Mike
     42Thomas, Minh Thu, Christian Tismer, Andre van Tonder, John Tobey,
     43Henrik Tramberend, Vladimir Tsichevsky, Neil van Dyke, Sam Varner,
     44Taylor Venable, Sander Vesik, Jaques Vidrine, Panagiotis Vossos, Shawn
     45Wagner, Peter Wang, Ed Watkeys, Brad Watson, Thomas Weidner, Goeran
     46Weinholt, Matthew Welland, Drake Wilson, Joerg Wittenberger, Peter
     47Wright, Mark Wutka, Richard Zidlicky and Houman Zolfaghari for
     48bug-fixes, tips and suggestions.
    4949
    5050CHICKEN uses the "irregex" regular expression package written by Alex Shinn.
  • wiki/man/4/C interface

    r17611 r17815  
    429429
    430430
    431 (define one-two-three (foreign-primitive ((scheme-object str)) "one_two_three(C_c, C_self, C_k, str);"))
    432 ;; Or, more direct/lowlevel:
    433 ;; (define one-two-three (##core#primitive "one_two_three"))
     431(define one-two-three
     432   (foreign-primitive ((scheme-object str)) "one_two_three(C_c, C_self, C_k, str);"))
    434433
    435434(print (one-two-three "hi"))
  • wiki/man/4/Callbacks

    r16521 r17815  
    6868Results of type {{scheme-object}} returned by {{define-external}}
    6969are always allocated in the secondary heap, that is, not in the stack.
     70
    7071=== C_callback
    7172
  • wiki/man/4/Extensions

    r17796 r17815  
    273273==== installation-prefix
    274274
    275 <parameter>installation-prefix</parameter>
     275<procedure>(installation-prefix)</procedure>
    276276
    277277An alternative installation prefix that will be prepended to extension
    278 installation paths if specified. It is set by the {{-install-prefix}}
     278installation paths if specified. It is set by the {{-prefix}}
    279279option or environment variable {{CHICKEN_INSTALL_PREFIX}}.
    280280
     
    384384execute the any files with the {{.setup}} extension it can find.
    385385
    386 Now just load the library and use it:
     386Use it like any other CHICKEN extension:
    387387
    388388 $ csi -q
    389389 #;1> (require-library hello)
    390  ; loading /usr/local/lib/chicken/5/hello.so ...
     390 ; loading /usr/local/lib/chicken/4/hello.so ...
    391391 #;2> (hello "me")
    392392 Hello, me!
  • wiki/man/4/Extensions to the standard

    r16771 r17815  
    158158of the string.
    159159
     160=== Number/String conversions
     161
     162The optional "base" argument to {{string->number}} and {{number->string}}
     163may be any integral value from 2 to 36.
     164
    160165=== {{force}}
    161166
  • wiki/man/4/Getting started

    r17780 r17815  
    242242  uses unix commands such as {{cp}} and {{rm}}.  The end product is the
    243243  same.
    244 ** Microsoft Visual Studio will soon be supported, including the
    245   Express edition, which is a non-free but no-cost compiler suite
    246   available from Microsoft
    247   ([[http://www.microsoft.com/express/vc]]). Chicken supports
    248   command-line building using the command-line C/C++ compiler.
    249 *** Visual Studio users will want to install the Unix Utilities, available at
    250   [[http://www.call-with-current-continuation.org/tarballs/UnxUtils.zip]],
    251   in order to get suitable versions of {{make}}, {{tar}}, {{gzip}}, and
    252   similar commands. 
    253244
    254245Refer to the {{README}} file for the version you're installing for
  • wiki/man/4/Modules and macros

    r17778 r17815  
    243243
    244244<macro>(module NAME (EXPORT ...) BODY ...)</macro><br>
     245<macro>(module NAME (EXPORT ...) FILENAME)</macro>
    245246<macro>(module NAME * BODY ...)</macro>
    246247
     
    255256the macro (this is a hint to the module expander to export bindings
    256257referenced by syntax-definitions which make use of them, but which
    257 would normally be internal to the module - that allows some
    258 optimization and also records).
     258would normally be internal to the module - which gives more
     259opportunities for optimization).
     260
     261When the {{BODY}} consists of a single string, it is handled
     262as {{(include FILENAME)}}.
    259263
    260264Nested modules, modules not at toplevel (i.e. local modules) or
     
    273277mapping of identifiers to value or syntax bindings. Modules do not
    274278instantiate separate environments that contain their own bindings, as
    275 do many other module systems. Redefinition of value or syntax bindings
    276 will modify the original, imported definition.
     279do many other module systems. Redefinition or assignment of value or
     280syntax bindings will modify the original, imported definition.
     281
     282Syntax expansions may result in module-definitions, but must be
     283at toplevel.
    277284
    278285
     
    285292{{module}} export list. An export must precede its first occurrence
    286293(either use or definition).
     294
     295If used outside of a module, then this form does nothing.
    287296
    288297==== import
  • wiki/man/4/Non-standard macros and special forms

    r17537 r17815  
    397397SRFI-9 record types. For more information see the documentation for
    398398[[http://srfi.schemers.org/srfi-9/srfi-9.html|SRFI-9]].
     399
     400As an extension the {{MODIFIER}} may have the form {{(setter PROCEDURE)}},
     401which will define a SRFI-17 setter-procedure for the given {{PROCEDURE}}
     402that sets the field value. Usually {{PROCEDURE}} has the same name
     403is {{ACCESSOR}} (but it doesn't have to).
    399404
    400405
  • wiki/man/4/Unit library

    r17814 r17815  
    125125<procedure>(fpinteger? X)</procedure>
    126126
    127 Note: {{fpround}} implements POSIX, which is different from R5RS.
     127Note: {{fpround}} uses the rounding mode that your C library
     128implements, which is usually different from R5RS.
    128129
    129130==== flonum?
  • wiki/man/4/Unit utils

    r17716 r17815  
    8282The initial default options are {{-scrutinize -O2 -d2}}.
    8383
    84 
    8584=== Scanning through an input port
    8685
  • wiki/man/4/Using the compiler

    r17705 r17815  
    202202; -to-stdout : Write compiled code to standard output instead of creating a {{.c}} file.
    203203
    204 ; -unboxing : try to use unboxed temporaries for numerical operations.
     204; -unboxing : try to use unboxed temporaries for numerical operations. This optimization is only effective in unsafe mode.
    205205
    206206; -unit NAME : Compile this file as a library unit. Equivalent to {{-prelude "(declare (unit NAME))"}}
    207207
    208208; -unsafe : Disable runtime safety checks.
    209 
    210 ; -unsafe-libraries : Marks the generated file for being linked with the unsafe runtime system. This should be used when generating shared object files that are to be loaded dynamically. If the marker is present, any attempt to load code compiled with this option will signal an error.
    211209
    212210; -uses NAME : Use definitions from the library unit {{NAME}}. This is equivalent to {{-prelude "(declare (uses NAME))"}}. Multiple arguments may be given, separated by {{,}}.
     
    242240
    243241; {{-:g}} : Prints information about garbage-collection.
     242
     243; {{-:G}} : Force GUI mode (show error messages in dialog box, suitable for platform).
    244244
    245245; {{-:fNUMBER}} : Specifies the maximal number of currently pending finalizers before finalization is forced.
  • wiki/man/4/faq

    r17791 r17815  
    464464{{block-set!}} {{number-of-slots}}
    465465{{first}} {{second}} {{third}} {{fourth}} {{null-pointer?}} {{pointer->object}}
     466{{pointer+}} {{pointer=?}}
     467{{pointer-u8-ref}} {{pointer-s8-ref}} {{pointer-u16-ref}} {{pointer-s16-ref}}
     468{{pointer-u32-ref}} {{pointer-s32-ref}} {{pointer-f32-ref}} {{pointer-f64-ref}}
     469{{pointer-u8-set!}} {{pointer-s8-set!}} {{pointer-u16-set!}} {{pointer-s16-set!}}
     470{{pointer-u32-set!}} {{pointer-s32-set!}} {{pointer-f32-set!}} {{pointer-f64-set!}}
    466471{{make-record-instance}}
    467472{{locative-ref}} {{locative-set!}} {{locative?}} {{locative->object}} {{identity}}
Note: See TracChangeset for help on using the changeset viewer.