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 Subject: Re: Guile as a Settings Format Date: Mon, 19 Jul 2010 10:38:21 +0200 Message-ID: <8739vf988y.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279530564 21035 80.91.229.12 (19 Jul 2010 09:09:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Jul 2010 09:09:24 +0000 (UTC) Cc: Guile Mailing List To: Luiji Maryo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jul 19 11:09:23 2010 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OamLg-0002bp-04 for guile-user@m.gmane.org; Mon, 19 Jul 2010 11:09:20 +0200 Original-Received: from localhost ([127.0.0.1]:44354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OamLe-00008s-Ax for guile-user@m.gmane.org; Mon, 19 Jul 2010 05:09:18 -0400 Original-Received: from [140.186.70.92] (port=55356 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OamLR-00005t-Sh for guile-user@gnu.org; Mon, 19 Jul 2010 05:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OamLP-0001rE-SW for guile-user@gnu.org; Mon, 19 Jul 2010 05:09:04 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:36715) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OamLP-0001ql-Gz for guile-user@gnu.org; Mon, 19 Jul 2010 05:09:03 -0400 Original-Received: from ambire.localdomain (95.244.66.16) by smtp204.alice.it (8.5.124.08) id 4C3B175900684FA7; Mon, 19 Jul 2010 10:41:06 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1Oalri-0001ZX-DB; Mon, 19 Jul 2010 10:38:22 +0200 In-Reply-To: (Luiji Maryo's message of "Sat, 17 Jul 2010 19:57:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7992 Archived-At: () Luiji Maryo () Sat, 17 Jul 2010 19:57:41 -0400 Is it acceptable to use Guile as a settings file format or is another format, such as XML, preferred by the GNU community? I think so, if by "Guile" you mean "sexps that Guile can =E2=80=98read=E2= =80=99". E.g., see X protocol, converted from XML: http://www.gnuvola.org/data/index.html http://www.gnuvola.org/data/duxpd/ A sexp affords a richer set of fundamental and aggregate types, basically. In contrast, XML "types" require rehydration. Since proper validation (a purported advantage of using XML) requires substantial type information, you end up doing more work: rehydration then validation. WOMBAT tech; avoid. thi