Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ZIP 形式のアーカイブから直接 load する Gauche 用ライブラリ
branch: master
Failed to load latest commit information.
COPYING Add COPYING.
DIST Initial commit.
Makefile.in Added Makefile.in
VERSION Initial commit.
configure.ac Initial commit.
readme.org Add readme.
test.scm Initial commit.
zipload.scm Deleted a field that is unused from record of header.

readme.org

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
$ ./DIST gen
$ ./configure
$ make
$ make -s 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.

Something went wrong with that request. Please try again.