unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* [ANN] Guile-DSV 0.2.1 released
@ 2017-11-25  0:44 Artyom Poptsov
  0 siblings, 0 replies; only message in thread
From: Artyom Poptsov @ 2017-11-25  0:44 UTC (permalink / raw)
  To: Guile Users' Mailing List

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

Hello Guilers,

I'm pleased to announce Guile-DSV 0.2.1:
  https://github.com/artyom-poptsov/guile-dsv/releases/tag/v0.2.1

Please find the package signed with my GPG key[1] here:
  - ftp://memory-heap.org/software/guile-dsv/guile-dsv-0.2.1.tar.gz
  - ftp://memory-heap.org/software/guile-dsv/guile-dsv-0.2.1.tar.gz.sig

This is mainly a bugfix release: Guile-DSV now correctly handles quoted
final fields in CRLF context when RFC4180 format is parsed.

In addition, this release adds a GNU Guix recipe that allows to use the
package with Guix package manager. [2]

Thanks for all the contributions, they where very helpful.  Contributors
listed in the documentation, 'AUTHORS' and 'THANKS' files included in
the distribution.


* What is Guile-SSH?

Guile-DSV is a GNU Guile module for working with the delimiter-separated
values (DSV) data format. [3]

Guile-DSV supports the classic Unix-style DSV format [4] (e.g. Unix
'/etc/passwd' uses it) and RFC 4180 [5] format (e.g. LibreOffice Calc
allows to export tables into plain text using CSV, comma separated
values format, which is a subclass of DSV.)

Guile-DSV usage examples:

  (use-modules (dsv))

  (car (dsv->scm (open-input-file "/etc/passwd")))
  => '("root" "x" "0" "0" "root" "/root" "/bin/bash")

  (scm->dsv '(("Then I" " said:" "Hello, " "Guile " "World!")))
  => "Then I: said\::Hello, :Guile :World!"

  (scm->dsv '(("Then I" " said:" "Hello, " "Guile " "World!"))
            #:format 'rfc4180)
  => "Then I, said:,\"Hello, \",Guile ,World!"


* The list of user-visible changes

Here's the list of user-visible changes (an excerpt from NEWS file):

--8<---------------cut here---------------start------------->8---
* Changes in version 0.2.1 (2017-11-25)
** Add Guix package recipe
   Guile-DSV now has GNU Guix <https://www.gnu.org/software/guix/> package
   recipe that allows to use the package with Guix package manager.

   Thanks to Alex Sassmannshausen <alex@pompo.co> for writing the recipe.
** Bugfixes
*** RFC4180 now correctly handles quoted final fields in CRLF context
    The RFC4180 parser would always fail to parse strings such as:
      "test,hello,\"blah\"\r\n"
      "test,hello,\"blah\"\r\nincorrect,field,parsing"

    due to implementation defects.  Now the parser works correctly in such
    cases.

    Thanks to Alex Sassmannshausen for the patches!

    Reported by Alex Sassmannshausen <alex@pompo.co> in
    <https://github.com/artyom-poptsov/guile-dsv/issues/3>
--8<---------------cut here---------------end--------------->8---

Happy hacking!

- Artyom

[1] https://pgp.mit.edu/pks/lookup?search=0x0898A02F&op=index
[2] https://www.gnu.org/software/guix/
[3] https://en.wikipedia.org/wiki/Delimiter-separated_values
[4] http://www.catb.org/~esr/writings/taoup/html/ch05s02.html#id2901882
[5] https://tools.ietf.org/html/rfc4180

-- 
Artyom V. Poptsov <poptsov.artyom@gmail.com>
Home page: http://poptsov-artyom.narod.ru/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-25  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-25  0:44 [ANN] Guile-DSV 0.2.1 released Artyom Poptsov

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).