guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] guile-gi v0.2.0 released


From: Mike Gran
Subject: [ANN] guile-gi v0.2.0 released
Date: Mon, 2 Sep 2019 08:33:47 -0700
User-agent: Mutt/1.11.3 (2019-02-01)

On behalf of the Guile-GI team, I am pleased to announce the release
of Guile-GI v0.2.0.

guile-gi is a library that autogenerates GNU Guile bindings for
GObject libraries that provide typelib files.  GObject is a standard
way of writing C-language libraries with headers and introspection
information.  Typelib files are GObject's standard way to provide that
introspection information. Among the GObject libraries are GTK3 and
WebKitGTK2, two popular GUI libraries.

In short, this library hopes to make GTK3 and WebKit2 available to
Guile.

This particular library is one of several different attempts and
solving the interface between GTK+3 and Guile.  Its differentiating
feature is that its bindings are created dynamically at runtime by
parsing typelib files.

Guile-GI is alpha.  Its API is stabilizing but is subject to change.
Use at your own risk.

The big user-facing effort in this release was tackling the problem of
enums and trying to make better autogenerated documentation.  Much
work was done on the back end trying to improve SCM to C argument
conversion.

The NEWS
- Improvements in SCM <-> C argument conversion
  - simplified to GType + metadata
  - more type associations
    - enum and flags classes, plus an API for them
    - procedure wrappers for callbacks and closures
    - accessor wrapper for values
    - integer data types must be `<integer>`
    - float and double must be `<real>`
- Support generation of documentation
  - In-REPL documentation through guile-procedures.txt
  - Docbook XML
  - Add gtkdoc support through `gi-gtkdoc` (use `guild` to invoke)

The git repo is at
  https://github.com/spk121/guile-gi.git
The code can be browsed at
  https://github.com/spk121/guile-gi
The still incomplete documentation can be read at
  https://spk121.github.io/guile-gi/

A tarball can be downloaded
  http://lonelycactus.com/tarball/guile_gi-0.2.0.tar.gz
  MD5 06ecc2fdf832a56a69e31b7d46ff9fda  guile_gi-0.2.0.tar.gz

To read about what this library is supposed to do, check out
  https://spk121.github.io/guile-gi/Getting-Started.html

Regards,
Mike Gran



reply via email to

[Prev in Thread] Current Thread [Next in Thread]