[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ANN] Guile-DSV 0.3.0 released
From: |
Artyom V. Poptsov |
Subject: |
[ANN] Guile-DSV 0.3.0 released |
Date: |
Mon, 11 May 2020 19:18:20 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Hello Guilers,
I'm pleased to announce Guile-DSV 0.3.0:
https://github.com/artyom-poptsov/guile-dsv/releases/tag/v0.3.0
Thanks to Alex Sassmannshausen who found and reported bugs in RFC4180
format parser.
* What is Guile-DSV?
Guile-DSV is a library that allows to parse Delimiter-Separated Values
format (DSV). It supports two flavors of DSV: Unix-style[1] and RFC4180[2].
Also Guile-DSV is shipped with a program named "dsv" that allows to read
and process DSV format (including delimiter change and conversion from
one standard to another.) See README file for usage examples.
* List of user visible changes
Here's an excerpt from the NEWS file:
--8<---------------cut here---------------start------------->8---
* Changes in version 0.3.0 (2020-05-11)
** Remove bundled SRFI-64
This module is shipped with Guile since version 2.0.12.
** Improve =dsv= tool (=utils/dsv.in=)
- The tool now is capable of converting delimiters and reading data
from stdin.
- Add check for empty argument: print help message if no arguments
specified.
** Bugfixes
*** Fix quote handling in RFC4180 data
The library would always fail to correctly parse RFC4180 format
because there
was an error in the state machine: it considered even number of
double quotes as a proof that the input data was correct.
This change fixes the problem (#7 on GitHub) by re-writing the FSM
to follow the standard more closely. Also now the FSM for RFC4180
reads data character by character which is more elegant and
controllable.
Thanks to Alex Sassmannshausen for attracting my attention to the
parser issues in
<https://github.com/artyom-poptsov/guile-dsv/issues/7>
** Improve tests
Expand test suite, make tests more fine-grained.
--8<---------------cut here---------------end--------------->8---
Thanks and happy hacking!
- Artyom
[1] http://www.catb.org/~esr/writings/taoup/html/ch05s02.html#id2901882
[2] https://tools.ietf.org/html/rfc4180
--
Artyom "avp" Poptsov <address@hidden>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ANN] Guile-DSV 0.3.0 released,
Artyom V. Poptsov <=