unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Guile-Lib 0.2.4 released
@ 2016-11-14  7:53 David Pirotte
  2016-11-14  8:01 ` David Pirotte
  2017-01-19 13:53 ` Guile-Lib 0.2.5 released Matt Wette
  0 siblings, 2 replies; 3+ messages in thread
From: David Pirotte @ 2016-11-14  7:53 UTC (permalink / raw)
  To: guile-user, guile-devel

[-- Attachment #1: Type: text/plain, Size: 2327 bytes --]

Hello,

We are pleased to announce Guile-Lib 0.2.4. This is a maintenance release, the next
maintenance release for the 0.2 series.


* Guile-Lib Homepage: 

	http://www.nongnu.org/guile-lib/


* Guile-Lib release tarball GPG signature [*]:

	http://download.savannah.gnu.org/releases/guile-lib/guile-lib-0.2.4.tar.gz
	http://download.savannah.gnu.org/releases/guile-lib/guile-lib-0.2.4.tar.gz.sig

	[ Downloads will redirect to your nearest mirror site.
	[ Files on mirrors may be subject to a replication delay of up to 24 hours.
	[ In case of problems use
	[ http://download-mirror.savannah.gnu.org/releases/guile-lib/


* About Guile-Lib

Guile-Lib is intended as an accumulation place for pure-scheme Guile modules,
allowing for people to cooperate integrating their generic Guile modules into a
coherent library. Think "a down-scaled, limited-scope CPAN for Guile".


* Changes since 0.2.3

-  (unit-test)

	The assert-numeric-=  test failed exception report message was
	inadequate and has been fixed.
	
-  Do not check what is not installed

	Starting with Guile-2.0, some Guile-Lib modules became Guile
	core modules, and not installed.  However, we all forgot to
	adapt the test-suite so it does not run any check for none installed
	modules, now fixed.

-  Install source files first

    	Make sure source files are installed first, so that the mtime of
        installed compiled files is greater than that of installed
        source files, in order to avoid a rather annoying local
        (per-user) recompilation of Guile-Lib modules.


* This release was built and tested using the following tools:

 	-] autoconf         		(GNU Autoconf) 2.69 
	-] automake         		(GNU automake) 1.15 
	-] guile-2.0        		2.0.13.1-27247


On behalf of the Guile-lib team,
David


[*] Use a .sig file to verify that the corresponding file (without the .sig suffix)
is intact.  First, be sure to download both the .sig file and the corresponding
tarball.  Then, run a command like this:

        gpg --verify guile-lib-0.2.3.tar.gz.sig

If that command fails because you don't have the required public key, then run this
command to import it:

        gpg --keyserver keys.gnupg.net --recv-keys A3057AD7

and rerun the 'gpg --verify' command.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guile-Lib 0.2.4 released
  2016-11-14  7:53 Guile-Lib 0.2.4 released David Pirotte
@ 2016-11-14  8:01 ` David Pirotte
  2017-01-19 13:53 ` Guile-Lib 0.2.5 released Matt Wette
  1 sibling, 0 replies; 3+ messages in thread
From: David Pirotte @ 2016-11-14  8:01 UTC (permalink / raw)
  To: guile-user, guile-devel

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]


> We are pleased to announce Guile-Lib 0.2.4. This is a maintenance release, the next
> maintena
> ...

>         gpg --verify guile-lib-0.2.3.tar.gz.sig

Sorry for the tipo, the signature verification command should obviously be:

	gpg --verify guile-lib-0.2.4.tar.gz.sig

David

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guile-Lib 0.2.5 released
  2016-11-14  7:53 Guile-Lib 0.2.4 released David Pirotte
  2016-11-14  8:01 ` David Pirotte
@ 2017-01-19 13:53 ` Matt Wette
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Wette @ 2017-01-19 13:53 UTC (permalink / raw)
  To: David Pirotte; +Cc: guile-user, guile-devel


> On Jan 18, 2017, at 12:46 PM, David Pirotte <david@altosw.be> wrote:
> 
> Hello,
> 
> We are pleased to announce Guile-Lib 0.2.5. This is a maintenance release, the next
> maintenance release for the 0.2 series.
> 
> 
> * Guile-Lib Homepage: 
> 
> 	http://www.nongnu.org/guile-lib/
> 

If you are willing to accept contributions, maybe add logistics for that to the home page.  I have a couple I would like to add.  See below. — Matt

Here are a couple I could contribute, if you are interested:

1.1 Struct Module
=================

The '(struct)' module provides procedures for packing and unpacking
scheme data to and from bytevectors based on a format string.

     (use-modules (struct))

     ;; pack two unsigned shorts and a double float in big endian order
     (define data (pack ">2Hd" 3 22 34.0))
     (write data) (newline)
     ==>
     #vu8(0 3 0 22 64 65 0 0 0 0 0 0)

     ;; verify using unpack
     (write (unpack ">2Hd" data)) (newline)
     ==>
     (3 22 34.0)

 -- Scheme Procedure: pack format vals ...
     Return a bytevector that contains encoded data from VALS, based on
     the string FORMAT.

 -- Scheme Procedure: unpack format bvec
     Return a list of scheme objects decoded from the bytevector BVEC,
     based on the string FORMAT.

 -- Scheme Procedure: packed-size format
     Return the number of bytes represented by the string FORMAT.

   The _format_ string used for PACK and UNPACK is constructed as a
sequence of digits, representing a repeat count, and codes, representing
the binary content.

The string may optionally begin with a special character that represents
the endianness:
    =        native endianness
    <        little-endian
    >        big-endian
    !        network order -- i.e., big-endian

Type codes used in the format string are interpreted as follows:
    x        blank byte
    c        8-bit character
    ?        boolean
    b        signed 8-bit integer
    B        unsigned 8-bit integer
    h        signed 16-bit integer
    H        unsigned 16-bit integer
    i        signed 32-bit integer
    I        unsigned 32-bit integer
    l        signed 32-bit integer
    L        unsigned 32-bit integer
    q        signed 64-bit integer
    Q        unsigned 64-bit integer
    f        32-bit IEEE floating point
    d        64-bit IEEE floating point
    s        string

   The following issues remain to be addressed:
string padding
     'pack' assumes that the string length in the format is the same as
     in the passed string.  Non-conformance is not trapped as an error.

===========================================================

Regexp Utilities
----------------

 -- Scheme Procedure: regexp-case str case ... [else body]
     Match the string STR against each CASE in turn.  Each CASE is of
     the form
          ((pat VAR1 VAR2 ...)
           body)
     where pat is a regular expression string literal, VAR1 ... are
     bound to the ordered list of matched subexpressions, and BODY is a
     sequence of expressions.  If no match is found and the optional
     ELSE case exists, the associated body is executed, otherwise an
     error is signaled.

   The following example matches a string aginst either a simple
variable name, or a simple variable name with an array reference, and
returns a list with the variable name and the string index, or '"1"'.
If no match is found, '#f' is returned.

     (define str "foo")
     (regexp-case str
      (("^([a-z]+)\\(([0-9]+)\\)$" var idx)
       (list var idx))
      (("^([a-z]+)$" var)
       (list var "1"))
      (else #f))
     ==>
     ("foo" "1")

 -- Scheme Procedure: make-string-matcher (str ...) case ... [else body]
     This is similar to 'regexp-case' but generates a procedure '(lambda
     (str ...) ...)' that matches its string argument STR againt each
     CASE in turn.

     (define my-matcher
       (make-string-matcher (str a b c)
        (("^([a-z]+)\\(([0-9]+)\\)$" var idx)
         (list var idx))
        (("^([a-z]+)$" var)
         (list var "1"))
        (else #f))




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-19 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-14  7:53 Guile-Lib 0.2.4 released David Pirotte
2016-11-14  8:01 ` David Pirotte
2017-01-19 13:53 ` Guile-Lib 0.2.5 released Matt Wette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).