Thien-Thi Nguyen | 8 Sep 2004 15:22

ttn-pers-scheme 0.37 available

README excerpt:

  This directory contains ttn's personal scheme library,
  a collection of Guile Scheme code and intervening text
  (-: as well as a maintenance methodology :-).

NEWS excerpt:

  - 0.37 | 2004-08-05

    - Module no longer maintained: (ttn pgtype)
    - Module no longer maintained: (ttn pgtable)
    - Module no longer maintained: (ttn pgmeta)

        The functionality provided by these modules has migrated to
        Guile-PG, with homepage:

          http://www.glug.org/people/ttn/software/guile-pg/

        Thus, although these modules are still provided here for the
        time being, they are no longer being maintained.  This means,
        among other things, that the configure script no longer
        recognizes option "--enable-pgtable-check-db=NAME".

    - Extension to (ttn edit) "e:" proc `insert'

        If OBJECT is a gap buffer, its contents are inserted.
        Point moves forward as usual.

    - Bugfixes to (ttn edit) buffer traversal "e:" procs
(Continue reading)

Thien-Thi Nguyen | 8 Sep 2004 15:22

gxsed snapshot

folks,

sed is a nice, mostly stable, design where one can practice simple
compilation techniques, such as parsing (and building trees), basic
blocks threading, backpatching, accomodation of midstream scope
changes, and minor optimization.

please find below a work-in-progress (rife with code-enhancement
opportunities ;-) implementation that has been tested alongside GNU sed
3.02 and GNU sed 4.1 with the `testsed' script:

  #!/bin/sh
  $HOME/local/src/.ttn/build/sed-4.1/sed/sed "$ <at> "
  sed "$ <at> "
  sh gxsed.scm "$ <at> " 

obviously, this script does not support testing gxsed as a stdin filter;
that has to be done separately in an ad-hoc manner (at least, by those
who aren't bourne-shell file descriptor munging wizards...).

to play, comment out the pretty-printing (unless that sort of thing
interests you) and use the script above to watch output/speed of the
respective implementations.  for example:

  sh -x testsed -n \
    '/^[*][*]*$/{;n;n;n;/complete mystery/{;g;p;};};h' \
    ~/local/info/ttn-do.info

this displays program names in the ttn-do package for which the
documentation barely scrapes by (tsk tsk).
(Continue reading)

Thien-Thi Nguyen | 8 Sep 2004 15:25

Guile-SDL 0.2.6 available

README excerpt:

  This directory contains Guile-SDL, a set of modules that provide
  bindings for SDL (Simple DirectMedia Layer) to enable Guile
  programmers to do all the nice things you can do with SDL.

NEWS excerpt:

  - 0.2.6 | 2004-09-01

    - docs cleanup

        The documentation methodology extracts signatures from functions
        in C source code and thus the variable name of the arguments are
        the ones displayed (unless overridden).  Previously, the vars
        were named w/ an "s_" prefix to indicate "scheme value", a mild
        form of Hungarian notation.  A particularly striking example:

         - Scheme Procedure: create-rgb-surface s_flags s_width s_height
                s_depth s_rmask s_gmask s_bmask s_amask

        This has now been changed to read:

         - Scheme Procedure: create-rgb-surface flags width height depth
                rmask gmask bmask amask

        The signature still occupies two lines -- unavoidable w/ so many
        arguments -- but the whole is less jarring to read (we hope).

    - info entry now under category "Guile modules"
(Continue reading)

Thien-Thi Nguyen | 8 Sep 2004 15:23

Guile-GDBM 0.2.5 available

README excerpt:

  Guile-GDBM is a compiled Guile module that provides Scheme level
  access to the GNU dbm library.  It was originally written by
  Martin Grabmüller <mgrabmue <at> cs.tu-berlin.de> and is released
  under the GNU General Public License (GPL) version 2.

NEWS excerpt:

  - 0.2.5 | 2004-08-07

    - Backward-compatability installation bugfix: libFOO.la symlinks

        To support the venerable "scm_init_FOO_BAR_module" method for
        loading binary modules in versions of Guile that look for a
        FOO/libBAR.la, and not simply FOO/BAR.la, appropriately named
        symlinks are now created for each installed .la file.

cvs tag:

  v-0-2-5-lamentarsi

tarball, anoncvs instructions and other files in dir:

  http://www.glug.org/people/ttn/software/guile-gdbm/

happy hacking,
thi

_______________________________________________
(Continue reading)

Thien-Thi Nguyen | 8 Sep 2004 15:23

Guile-PG 0.22 available

README excerpt:

  Guile-PG is a collection of modules for Guile allowing access to
  the PostgreSQL RDBMS from Scheme programs.

  The low-level module `(database postgres)' provides an almost
  one-to-one correspondence with the PostgreSQL "libpq" C library
  interface.  Other higher-level modules, typically named
  `(database postgres-FOO)', provide abstractions and convenience
  procedures.

  This is alpha code (pre 1.0 release).  It has bugs, and the
  interfaces may change from version to version.

  To build Guile-PG you need to have installed both the PostgreSQL
  frontend library libpq, and a version of Guile that can load
  binary module (a b c) from file a/b/c.so or a/b/c/libc.la under
  `%load-path'.

NEWS excerpt:

  - 0.22 | 2004-08-07

    - Experimental configure script option: --enable-pq-rpath

        The configure script now recognizes `--enable-pq-rpath' and
        subsequently arranges to pass "-R DIR" to the link command,
        where DIR is the directory in which libpq.a can be found
        (typically by specifying --with-libpq or --with-libpq-lib).

(Continue reading)


Gmane