From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.lisp.guile.devel Subject: Re: AM_GNU_GETTEXT weirdness Date: Tue, 28 Sep 2004 21:55:20 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <200409282155.20886.bruno@clisp.org> References: <87d60c8k4s.fsf@zagadka.ping.de> <200409281807.21775.bruno@clisp.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096401636 5267 80.91.229.6 (28 Sep 2004 20:00:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2004 20:00:36 +0000 (UTC) Cc: guile-devel@gnu.org, Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 28 22:00:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CCO9A-0006q6-00 for ; Tue, 28 Sep 2004 22:00:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCOFT-0008Lc-2Q for guile-devel@m.gmane.org; Tue, 28 Sep 2004 16:06:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CCOFK-0008KK-CN for guile-devel@gnu.org; Tue, 28 Sep 2004 16:06:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CCOFJ-0008Ji-Oh for guile-devel@gnu.org; Tue, 28 Sep 2004 16:06:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCOFJ-0008Jc-KW for guile-devel@gnu.org; Tue, 28 Sep 2004 16:06:45 -0400 Original-Received: from [81.80.162.195] (helo=ftp.ilog.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CCO8d-0002zi-7L; Tue, 28 Sep 2004 15:59:51 -0400 Original-Received: from laposte.ilog.fr (cerbere-qe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.0) with ESMTP id i8SJxoTL012952; Tue, 28 Sep 2004 21:59:50 +0200 (MET DST) Original-Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id i8SJxiYY019088; Tue, 28 Sep 2004 21:59:44 +0200 (MET DST) Original-Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id DCEC11833C; Tue, 28 Sep 2004 19:55:21 +0000 (UTC) Original-To: Marius Vollmer User-Agent: KMail/1.5 In-Reply-To: Content-Disposition: inline X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4182 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4182 Marius Vollmer wrote: > There is at least one gettext implementation in Scheme and maybe we > could just ship that... There's nothing wrong with emulating the C-written libintl library in a higher-level language, in principle. Python, GNU Smalltalk, and OCaml, for example, do this. They wrote all the necessary infrastructure (character set converters - iconv() equivalent, and the code for parsing and managing .mo files in memory) from scratch in their high-level language. It's a choice of "slim vs. thick". When libintl added extra features for Farsi and Arabic, you get them for free by using libintl. With the emulation approach, you need to emulate this as well, or you cannot use .mo files that make use of these features. It's a choice of "reuse vs. reimplement". Bruno _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel