This is r6rs-libraries.egg.info, produced by makeinfo version 4.7 from eggdoc-output.texi. INFO-DIR-SECTION The Algorithmic Language Scheme START-INFO-DIR-ENTRY * r6rs-libraries.egg: (r6rs-libraries.egg). Andre van Tonders macro and module system, with R6RS (draft) / SRFI-83 compliant libraries END-INFO-DIR-ENTRY  File: r6rs-libraries.egg.info, Node: Top, Next: About this egg, Up: (dir) r6rs-libraries egg ****************** Andre van Tonders macro and module system, with R6RS (draft) / SRFI-83 compliant libraries Written by Andre van Tonder, some work on the CHICKEN port by felix This manual corresponds to version 2.204 of the r6rs-libraries extension library for Chicken Scheme. * Menu: * About this egg:: * Documentation:: * License:: * Index::  File: r6rs-libraries.egg.info, Node: About this egg, Next: Documentation, Prev: Top, Up: Top 1 About this egg **************** * Menu: * Version history:: * Usage::  File: r6rs-libraries.egg.info, Node: Version history, Next: Usage, Up: About this egg 1.1 Version history =================== `2.204' Automatically compiles code using this extension with literal-compression `2.203' Added support for SRFI-61 (http://srfi.schemers.org/srfi-61) `2.202' Added a few new procedures, removed dependency on `chicken-config'. `2.201' Initial release  File: r6rs-libraries.egg.info, Node: Usage, Prev: Version history, Up: About this egg 1.2 Usage ========= Load this egg like so: `(require-extension r6rs-libraries)'  File: r6rs-libraries.egg.info, Node: Documentation, Next: License, Prev: About this egg, Up: Top 2 Documentation *************** For detailed specifications consult the official SRFI documents: SRFI-72 (http://srfi.schemers.org/srfi-72/srfi-72.html) SRFI-83 (http://srfi.schemers.org/srfi-83/srfi-83.html) Portable modules (http://www.het.brown.edu/people/andre/macros/srfi-module.htm) * Menu: * Notes:: * Languages:: * Other libraries:: * Extensions::  File: r6rs-libraries.egg.info, Node: Notes, Next: Languages, Up: Documentation 2.1 Notes ========= At least CHICKEN version 2.110 is required. "Curried" `define' is allowed, as are definitions of the form `(define VARIABLE)' Note that DSSSL extended lambda lists are currently not available. CHICKEN as of version 2.0 supports the abbreviation `#`' for `quasisyntax' `import' loads separately compiled libraries automatically. The predefined modules are handled specially since they are bundled in a separate shared object. Other modules are loaded via `require' by prepending the URI-scheme to the library name (if existing) and converting the library name to a symbol. So for example `(import "scheme://syntax-case")' would be required as `scheme-syntax-case'. Toplevel expressions are by default evaluated in a scope that has the `scheme://chicken' library imported. If you need to create a module for pre-existing libraries, create a wrapper module. The special form `import-primitives' allows importing unqualified toplevel identifiers into the current scope. This extension is still in an experimental stadium.  File: r6rs-libraries.egg.info, Node: Languages, Next: Other libraries, Prev: Notes, Up: Documentation 2.2 Languages ============= Basically any library may be used as the "language" part (the second argument) of a library definition, but it must be available both at compile and run-time. Pre-defined languages are: -- library: scheme://chicken Contains all R5RS and non-standard procedures provided by the basic CHICKEN system, that is everything contained in the `library' and `eval' library units. -- library: scheme://r6rs R5RS procedures and syntax, including `scheme://syntax-case' and SRFI-83 (http://srfi.schemers.org/srfi-83/srfi-83.html).  File: r6rs-libraries.egg.info, Node: Other libraries, Next: Extensions, Prev: Languages, Up: Documentation 2.3 Other libraries =================== -- library: chicken://macros Non-standard syntax extensions. Note that `eval-when' is not available and internal `define-values' is not supported) -- library: chicken://ffi Macros for interfacing to foreign code. -- library: chicken://extras -- library: chicken://lolevel -- library: chicken://posix -- library: chicken://regex -- library: chicken://tinyclos -- library: chicken://utils Non-standard extensions of the CHICKEN system. The `chicken://tinyclos' module exports the `define-class', `define-generic' and `define-method' syntax. Methods may only be defined on generic functions that have been previously defined with `define-generic'. -- library: scheme://syntax-case -- library: scheme://srfi-1 -- library: scheme://srfi-4 -- library: scheme://srfi-13 -- library: scheme://srfi-14 -- library: scheme://srfi-18 Modules with SRFI (http://srf.schemers.org) functionality. `scheme://syntax-case' provides the `syntax-case' macro and also defines`syntax-rules'.  File: r6rs-libraries.egg.info, Node: Extensions, Prev: Other libraries, Up: Documentation 2.4 Extensions ============== -- macro: define-for-syntax (define-for-syntax ...) Identical to `(begin-for-syntax (define ...))'. Exported by the `scheme://chicken' and `scheme://r6rs' libraries. -- macro: import-primitives (import-primitives IDENTIFIER ...) Imports the given identifiers unadorned into the current library. This provides a kind of"backdoor" for accessing internal identifiers or identifiers that are not defined in a library.  File: r6rs-libraries.egg.info, Node: License, Next: Index, Prev: Documentation, Up: Top 3 License ********* Copyright (c) 2005 Andre van Tonder Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  File: r6rs-libraries.egg.info, Node: Index, Prev: License, Up: Top Index ***** [index] * Menu: * chicken://extras: Other libraries. (line 14) * chicken://ffi: Other libraries. (line 11) * chicken://lolevel: Other libraries. (line 16) * chicken://macros: Other libraries. (line 7) * chicken://posix: Other libraries. (line 18) * chicken://regex: Other libraries. (line 20) * chicken://tinyclos: Other libraries. (line 22) * chicken://utils: Other libraries. (line 24) * define-for-syntax: Extensions. (line 7) * import-primitives: Extensions. (line 13) * scheme://chicken: Languages. (line 11) * scheme://r6rs: Languages. (line 16) * scheme://srfi-1: Other libraries. (line 34) * scheme://srfi-13: Other libraries. (line 38) * scheme://srfi-14: Other libraries. (line 40) * scheme://srfi-18: Other libraries. (line 42) * scheme://srfi-4: Other libraries. (line 36) * scheme://syntax-case: Other libraries. (line 32)  Tag Table: Node: Top318 Node: About this egg772 Node: Version history947 Node: Usage1360 Node: Documentation1538 Node: Notes2003 Node: Languages3149 Node: Other libraries3836 Node: Extensions5045 Node: License5637 Node: Index6849  End Tag Table