From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.sources Subject: guile 1.4.1.95 available Date: Tue, 30 Sep 2003 23:43:54 +0200 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: Reply-To: ttn@glug.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064958290 8005 80.91.224.253 (30 Sep 2003 21:44:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 21:44:50 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Sep 30 23:44:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4SIa-00053y-00 for ; Tue, 30 Sep 2003 23:44:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A4SFh-00066j-Ez for guile-user@m.gmane.org; Tue, 30 Sep 2003 17:41:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A4SEn-00065X-PX for guile-user@gnu.org; Tue, 30 Sep 2003 17:40:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A4SEH-0005xE-4b for guile-user@gnu.org; Tue, 30 Sep 2003 17:40:52 -0400 Original-Received: from [151.37.55.128] (helo=surf.glug.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A4SDl-0005qG-5D; Tue, 30 Sep 2003 17:39:49 -0400 Original-Received: from ttn by surf.glug.org with local (Exim 3.35 #1 (Debian)) id 1A4SHh-0003N0-00; Tue, 30 Sep 2003 23:43:53 +0200 Original-To: guile-sources@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2266 gmane.lisp.guile.sources:59 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2266 part of the whole 1.4.2 thrust is to tame the module system. w/ 1.4.1.95 we finally have wrapped our heads around the problem (at least a big chunk of it) and started to separate the pieces vertically so that they can be recast horizontally (table driven). see chapter "Modules" for the first inklings of documenting the beast and a hint as to how it will be ultimately brought into the light. as usual, other minor improvements here and there. more scripts, etc. new NEWS excerpt below. tarball in directory: http://www.glug.org/alt/ the intrepid experimentalist will notice .module-catalog files under $(pkgdatadir) and $(pkglibdir) -- do not be alarmed! try, instead, one of these diversions: st /tmp/a/b/c/bin/guile -c '(use-modules (database tmpfile))' sta /tmp/a/b/c/bin/guile -c '(use-modules (database tmpfile))' st /tmp/a/b/c/bin/guile -c '(%%mc -1) (use-modules (database tmpfile))' sta /tmp/a/b/c/bin/guile -c '(%%mc -1) (use-modules (database tmpfile))' where sta and st are simple scripts that do "strace -f -e open ..." and "strace -f -e open ... | grep -v No.such.file", respectively. (i have posted them in the past, ping me privately if you want a copy.) also, you may try them w/ other versions of guile for hours of fun. thi __________________________________________________________ * Module system internals starting to be internalized Several procedures and data structures from boot-9.scm have been moved into ice-9/module-system-compat.scm as their functionality is starting to be internalized. These were chosen mostly for their lack of use outside the module system (that is, they were "internal" in nature but "public" in presentation). See that file if you really need them (unlikely). * Meta switch parser now understands double-quote Previously, given a script header: #!/usr/local/bin/guile \ -e "(some module name)" -s !# the arguments seen by the script would have numbered 5, corresponding to the space-delimited tokens on the second line. Now, the meta switch parser understands double quotes and the same header would result in three arguments: `-e', `(some module name)' and `-s'. * `file-exists?' now follows EUID/EGID * Default `%load-path' extended to include "lib" dirs. Analogous to the present group of `%load-path' directories: /share/guile/site /share/guile/ /share/guile the default `%load-path' now includes, immediately following the above: /lib/guile/site /lib/guile/ /lib/guile The ".../guile/site" dirs are for unrelated third-party modules, whereas the ".../guile" dirs are for "affiliated" third-party modules. (The ".../guile/" dirs are reserved for Guile.) * New installed module: (database tmpfile) This is installed under /lib/guile/, which is now included in the default %load-path (see above). It provides the single procedure `tmpfile' as a wrapper for tmpfile(3). Unlike tmpfile(3), however, the return value is an input/output fport instead of `FILE *'. * Interpreter's "-s" switch optional in certain cases When processing command-line arguments to the interpreter, the first non-recognized element used to signal an error. Now, it is taken to be the name of a script to be run, and the rest of the command line to be arguments to the script. The net effect is that "-s" can be viewed as optional; the following pairs of invocations are treated identically: guile -s script 3 2 1 guile script 3 2 1 Note that in the latter case, the script's name cannot begin with "-" as that would confuse the argument processor. [end of excerpt] _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user