Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.03 KB

readme.org

File metadata and controls

55 lines (40 loc) · 1.03 KB

About Gauche-zipload

This is a library for Gauche. You can load directly from the ZIP archive by using the procedures in this library.

Prerequisites

This module is using some features that are added after Gauche 0.9.3 release.

Install

$ git clone git://github.com/SaitoAtsushi/gauche-zipload.git
$ cd gauche-zipload
$ ./configure
$ make
$ make check
$ [sudo] make install

A simple example

When the following three files is contained in a ZIP archive FOO.zip

;; T1.scm
(load "T2")
(load "T3")
(define (test-zipload) (list a b))
;; T2.scm
(define a 'a)
;; T3.scm
(define b 'b)

to load the T1 from this archive, run following.

(add-load-zip "FOO.zip")
(load "T1")

Calling add-load-zip with ZIP archive path is similar to call add-load-path with directory.

License

Gauche-zipload is BSD style license. See also COPYING.