[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] guile-gi v0.0.1 released
From: |
Ludovic Courtès |
Subject: |
Re: [ANN] guile-gi v0.0.1 released |
Date: |
Tue, 20 Nov 2018 21:55:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hey Mike,
Mike Gran <address@hidden> 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’.