Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CFFI Common Lisp bindings for Redland RDF Library

NotificationsYou must be signed in to change notification settings

Ramarren/cffi-redland

Repository files navigation

Dependencies

  • cffi
  • iterate
  • alexandria
  • trivial-garbage

Overview

The low-level bindings are partially written by hand and parially automatically generated. They cover almost all of the library, although I have not verified that all strings are handled correctly. There might remain some confusion betweennew-string/:string/:pointer.

Mid level bindings, wrapping all Redland objects with CLOS objects are somewhat complete. They are fairly raw, mostly handling wrapping/unwrapping pointers. They are pretty close to C functions, so Redland API reference can be used as documentation.

There are no mid-level bindings for hashes and lists. CL has pretty good versions of those already.

There are drivers for ITERATE, for Redland streams, iterators, models and query-results. Note that iteration object is shared and has to be copied to be used outside the loop.

Low-level bindings are unexported symbols prefixed with%. Mid-level bindings are exported. There are some minimal tests intest.lisp.

Status

I wrote those bindings as part of figuring out what is this RDF thing I saw mentioned, since I find that retyping APIs help me understand things. Unfortunately, I have no project to actually use it in, so it is unlikely that I will do more complete testing or write any higher level lispy framework on top in foreseeable future. I just hope someone might find these a helpful basis.

About

CFFI Common Lisp bindings for Redland RDF Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp