newsGNU recutils - News: Recutils, GOOPS and virtual slots

 
 
Latest News
Recutils, GOOPS and virtual slots posted by ane, Wed 09 Dec 2020 10:53:37 AM UTC
GNU recutils is back to active development posted by jemarch, Mon 19 Oct 2020 05:59:30 PM UTC
Pre-release 1.8.90 in alpha.gnu.org posted by jemarch, Tue 28 Jan 2020 11:31:56 AM UTC
recutils 1.8 released posted by jemarch, Thu 03 Jan 2019 10:20:39 AM UTC
recutils 1.7 released posted by jemarch, Mon 24 Mar 2014 11:11:21 PM UTC

Recutils, GOOPS and virtual slots

Item posted by Antoine Kalmbach <ane> on Wed 09 Dec 2020 10:53:37 AM UTC.

Writing Guile bindings for C libraries is seriously fun. As recutils is becoming popular in GNU, I thought it would be a fun idea to write Guile bindings for librec, the library powering recutils. Consequently, we are also thinking about adding Guile scripting to recutils.

Guile's design as an extension language is present in all of its features. Here and there you will find little gems that have very clearly been designed to help dealing with C code. Even GOOPS, the Guile implementation of GOOPS, has such features. In the article below I explain how I leverage a feature called virtual slots when writing bindings for recutils.

https://ane.github.io/programming/lisp/goops-virtual-slots-and-ffi.html

 

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code