From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] guile-gi v0.0.1 released Date: Tue, 20 Nov 2018 21:55:07 +0100 Message-ID: <878t1nxydw.fsf@gnu.org> References: <20181115144125.GA23468@joshua.dnsalias.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1542747344 4162 195.159.176.226 (20 Nov 2018 20:55:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 20:55:44 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Nov 20 21:55:40 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPD3b-0000yQ-50 for guile-user@m.gmane.org; Tue, 20 Nov 2018 21:55:39 +0100 Original-Received: from localhost ([::1]:35878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPD5h-0005qs-7x for guile-user@m.gmane.org; Tue, 20 Nov 2018 15:57:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPD5J-0005pQ-TV for guile-user@gnu.org; Tue, 20 Nov 2018 15:57:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPD5F-0006ZA-Rr for guile-user@gnu.org; Tue, 20 Nov 2018 15:57:25 -0500 Original-Received: from [195.159.176.226] (port=38265 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPD5F-0006SK-7C for guile-user@gnu.org; Tue, 20 Nov 2018 15:57:21 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gPD36-0000RY-Il for guile-user@gnu.org; Tue, 20 Nov 2018 21:55:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@blaine.gmane.org X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Brumaire an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Cancel-Lock: sha1:+cmtTHmPaBZOjvUwsOSXobCnOCE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:15011 Archived-At: Hey Mike, Mike Gran skribis: > Hello. I am announcing guile-gi v0.0.1. > > guile-gi is a library that autogenerates Guile bindings for GObject > libraries that provide typelib files. GNU Guile is an implementation > of Scheme, a Lisp-like language. GObject is a standard way of writing > C-language libraries with headers and introspection information that > are intended to allow them to be used from other languages. Typelib > files are GObject's standard way to provide that introspection > information. Among the GObject libraries are GTK3 and WebKitGTK2, two > popular GUI libraries. Woohoo, nice! The manual has this example: guile -L . -c '(use-modules (gi)) (display (export-typelib "Gtk" "3.0"))' > Gtk.scm guile -L . -c '(use-modules (gi)) (display (export-typelib "Gio" "2.0"))' > Gio.scm I wonder if there could be a macro providing the same functionality as ‘export-typelib’ such that the typelib file would be interpreted at macro-expansion time. :-) Anyway, thumbs up! Ludo’.