Changeset 34271 in project


Ignore:
Timestamp:
08/13/17 12:18:51 (4 months ago)
Author:
sjamaan
Message:

man/5: Add (chicken eval) module docs

Location:
wiki/man/5
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/5/Module (chicken errno)

    r34052 r34271  
    5858Previous: [[Module (chicken continuation)]]
    5959
    60 Next: [[Module (chicken file)]]
     60Next: [[Module (chicken eval)]]
  • wiki/man/5/Module (chicken file)

    r34173 r34271  
    297297
    298298---
    299 Previous: [[Module (chicken errno)]]
     299Previous: [[Module (chicken eval)]]
    300300
    301301Next: [[Module (chicken file posix)]]
  • wiki/man/5/TODO/Modules

    r34052 r34271  
    236236macros. Note that these definitions will ruthlessly pollute the
    237237toplevel namespace and so they should be used sparingly.
    238 
    239 
    240 === Using modules as evaluation environments
    241 
    242 ==== module-environment
    243 
    244 <procedure>(module-environment MODULENAME)</procedure>
    245 
    246 Locates the module with the name {{MODULENAME}} and returns an
    247 environment that can be passed as the second argument to {{eval}}. The
    248 evaluated expressions have only access to the bindings that are
    249 visible inside the module. Note that the environment is not mutable.
    250 
    251 If the module is not registered in the current process, {{module-environment}}
    252 will try to locate meta-information about the module by loading any
    253 existing import library with the name {{MODULENAME.import.[scm|so]}},
    254 if possible.
    255 
    256 In compiled modules, only exported bindings will be visible to interactively entered code. In interpreted modules all bindings are visible.
    257238
    258239
  • wiki/man/5/TODO/Parameters

    r34066 r34271  
    7070
    7171
    72 === eval-handler
    73 
    74 <parameter>(eval-handler)</parameter>
    75 
    76 A procedure of one or two arguments. When {{eval}} is invoked, it
    77 calls the value of this parameter with the same arguments. The default
    78 behavior is to evaluate the argument expression and to ignore the
    79 second parameter.
    80 
    81 
    8272=== force-finalizers
    8373
  • wiki/man/5/TODO/new-manual.org

    r34261 r34271  
    1818** Module (chicken continuation) : Feeley's "a better API for continuations"
    1919** Module (chicken errno) : Accessing the C "errno" variable
     20** Module (chicken eval) : CHICKEN-specific hooks for evaluating code
    2021** Module (chicken file) : High-level API for file system manipulations
    2122** Module (chicken file posix) : POSIX-specific file manipulations
Note: See TracChangeset for help on using the changeset viewer.