From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.sources Subject: SGF Utils 0.6 available Date: Tue, 20 Nov 2012 16:07:54 +0100 Message-ID: <87ip90jos5.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1353424058 4286 80.91.229.3 (20 Nov 2012 15:07:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 15:07:38 +0000 (UTC) Cc: guile-user@gnu.org To: guile-sources@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Nov 20 16:07:49 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TapQR-0008KD-P2 for guile-user@m.gmane.org; Tue, 20 Nov 2012 16:07:47 +0100 Original-Received: from localhost ([::1]:43880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TapQH-0003f4-9v for guile-user@m.gmane.org; Tue, 20 Nov 2012 10:07:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TapQ2-0003e0-Oj for guile-user@gnu.org; Tue, 20 Nov 2012 10:07:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TapPy-0007pn-Ck for guile-user@gnu.org; Tue, 20 Nov 2012 10:07:22 -0500 Original-Received: from smtp205.alice.it ([82.57.200.101]:35030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TapPm-0007mY-Oy; Tue, 20 Nov 2012 10:07:07 -0500 Original-Received: from zigzag.favinet (79.24.52.128) by smtp205.alice.it (8.6.058.01) id 50AA072A00387D3E; Tue, 20 Nov 2012 16:07:05 +0100 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1TapQf-0004sg-GW; Tue, 20 Nov 2012 16:08:01 +0100 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9706 gmane.lisp.guile.sources:390 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable release notes: Horizontal expansion; let's see if the center holds. :-/ thi README excerpt: SGF Utils is a set of programs for manipulating Smart Game Format files, principally for the game of Go. This release includes one tool: the viewing program sgfv. The code is "early to middling alpha"; see HACKING for why. NEWS excerpt: - 0.6 | 2012-11-20 - new programs The new programs described here are mostly to validate the build process, which takes pains to produce self-contained executables (that is, with component modules tsorted and inlined, removing the runtime need to find them on the filesystem and load them). Although balky at first sight, perhaps this practice can help (future) tools do whole-program analysis... fingers crossed. I must admit feeling irrational delight at the reduced number of open(2) and read(2) calls, when running under strace(1)... Anyway, both program behavior and construction method will likely change a lot before 1.0 release. Time will tell. - sgfc NB: PROVISIONARY AND TRIVIAL. This program reads the collections from each of the specified SGF files, displaying "FILENAME: OK" to stderr. The option =E2=80=98--sexp=E2=80=99 (short form =E2=80=98-x=E2=80= =99), makes sgfc pretty-print the combined collections (of all files) to stdout after checking everything. The output has grammar: COLLECTION :=3D (GAMETREE ...) GAMETREE :=3D ((NODE ...) (SUB-GAMETREE...)) NODE :=3D ((PROPERTY . VALUE) ...) PROPERTY is one of the properties list in src/ff-data.scm, the most important for SGF Utils being =E2=80=98FF=E2=80=99 and =E2=80= =98GM=E2=80=99. The form of VALUE, if any, depends on its property. It may be a number, symbol, string, vector, boolean, or some compound type. Unfortunately, the presence of booleans renders this format unfriendly to Emacs Lisp. :-/ - sgfm NB: PROVISIONARY AND TRIVIAL. This program reads a collection in sexp format (from =E2=80=98sgfc -x=E2=80=99, for instance) and w= rites it to stdout in SGF format. - DT in src/sgf/eg.in no longer invalid Was "YYYY-MM-DD (today)", now "YYYY-MM-DD". There are other invalid bits remaining, however. (At some point we hope sgfc will be able to find and perhaps correct them.) - sgfv =E2=80=98C-h=E2=80=99 more performant This used to create some child processes to extract the list of keybindings from the "sgfv --help" output. Blech. - another test: t20 This tests sgfc very lightly, ignoring =E2=80=98INTERACTIVE=3D1=E2= =80=99 entirely. BTW, the other test was renamed to t99. - tested with Guile 2.0.6 The configure script now checks for Guile 2.x-specific module =E2=80=98(ice-9 curried-definitions)=E2=80=99 and arranges for the = "compiler" (har har) to DTRT. - bootstrap tools upgraded - guile-baux-tool (Guile-BAUX) 20121120.1242.e233fad - automake (GNU automake) 1.12.5 tarball, etc, in dir: http://www.gnuvola.org/software/sgf-utils/ atom feed: http://www.gnuvola.org/NEWS.xml.gz =2D-=20 Thien-Thi Nguyen ..................................... GPG key: 4C807502 . NB: ttn at glug dot org is not me . . (and has not been since 2007 or so) . . ACCEPT NO SUBSTITUTES . ........... please send technical questions to mailing lists ........... --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlCrnMoACgkQZwMiJEyAdQJqDgCdHqPoGC76Gtocv+FcBodDBGhv KdQAn11D7atfJijokZRQxCL0LaZw58t8 =KXFs -----END PGP SIGNATURE----- --=-=-=--