From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.lisp.guile.devel,gmane.comp.gnu.gettext.bugs Subject: Re: Libgettextpo wrapper for Guile Date: Sun, 05 May 2019 20:45:40 +0200 Message-ID: <1721811.yzKoui1vof@omega> References: <20190505004925.24e650e4@gmail.com> <16567687.pgqOOCO6U5@omega> <20190505183409.4a2b8a3e@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21171"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) Cc: guile-devel@gnu.org, bug-gettext@gnu.org To: Miguel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun May 05 20:46:01 2019 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hNM99-0005M0-RL for guile-devel@m.gmane.org; Sun, 05 May 2019 20:45:59 +0200 Original-Received: from localhost ([127.0.0.1]:44582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNM98-0007Gi-SR for guile-devel@m.gmane.org; Sun, 05 May 2019 14:45:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNM90-0006ta-Fk for guile-devel@gnu.org; Sun, 05 May 2019 14:45:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNM8z-00022o-BR for guile-devel@gnu.org; Sun, 05 May 2019 14:45:50 -0400 Original-Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::1]:35694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hNM8w-0001tK-2h; Sun, 05 May 2019 14:45:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1557081942; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=Y9hDnCgSTgNaPr6Cxfqb2AQvn53FjO4F2GtXdifCU+0=; b=Wskd1gkxQ843Nh86E3g5QKr7NJZ+pRJ9F/tUqHwUlaknyR51Uq+1Qnly3DpT6xn11T M2roAows4WBhgGjitWcEJz54WkY0hR6YmtczitLAeemJUscmkKUjA0B7ahch/HK9G4J7 e1jOuK26BzeFWHSPSR1rbUVXQ1KlMrg5iyQliaX6F0Mt+hTd7k8kuxXqeYJ7ZWkXnWUE CeEoax1KW6u8atmwVs3We9TBgm2WthJcuH6BG9VcFjrVbIXHg4PZZotWSRvSh6QQWosn 8YmBl9JR1ojw5eGN7bzm1sz0VLzHt0/TaFMA5BrQc3PM32QWVnCLny6NkrILL82JB712 BfZQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0y5RW" X-RZG-CLASS-ID: mo00 Original-Received: from bruno.haible.de by smtp.strato.de (RZmta 44.18 DYNA|AUTH) with ESMTPSA id m03afev45IjfdRq (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 5 May 2019 20:45:41 +0200 (CEST) In-Reply-To: <20190505183409.4a2b8a3e@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::1 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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 Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19902 gmane.comp.gnu.gettext.bugs:2089 Archived-At: Hi Miguel, > an external project would be useful anyway as > does not require a version update of neither Gettext nor Guile to start > using it A separate project also means an independent release cycle. How are other Guile bindings organized? - guile-cairo separate project https://www.nongnu.org/guile-cairo/ - guile-gnome separate project https://www.gnu.org/software/guile-gnome/ - guile-git separate project https://gitlab.com/guile-git/guile-git - libgccjit separate project https://savannah.nongnu.org/projects/gccjit-guile/ - guile-gnutls at gnutls https://www.gnutls.org/manual/gnutls-guile.html - zeromq at zeromq http://zeromq.org/bindings:guile-binding - gmp part of guile https://gmplib.org/manual/Language-Bindings.html The majority seems to have chosen to be available as separate project. > I think the choice should have more to do with Gettext's desire as a > project to extend its code base in Guile in the future, as the Guile > library could be the foundation for new tools, or to keep C as the main > code base There are no plans to use a different implementation language for PO file manipulations. With the existing code base as a start, it is not much harder to code new functionality in C than it would be to code it in Python, guile, Java, or other languages. Gettext needs a different implementation language in other areas - such as extracting relevant information from HTML pages - and is using POSIX sh for this purpose. It's a balance between language features, portability, and ease of installation / minimization of dependencies. Bruno