Skip to content

ZIP 形式のアーカイブから直接 load する Gauche 用ライブラリ

License

Notifications You must be signed in to change notification settings

SaitoAtsushi/gauche-zipload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

ZIP 形式のアーカイブから直接 load する Gauche 用ライブラリ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages