Skip to main content

LibSnippet

LibSnippet

LibSnippet is a C library that offers an easy way to handle a collection of code samples. It is released under the GPL licence. It provides:

  • some basic types to handle the snippets themselves
  • a manager which holds a collection of snippets, based on an extensible engine system

State

libsnipplet is very young and we do not recommend to use it for a serious project at the moment.

Some of the current limitations are:

  • only one engine (sqlite)
  • no stable API/ABI

Documentation

The API is documented in the sources, and can be generated as HTML pages using gtk-doc.

An example is also provided in the sources (examples/ folder).

Download

The latest version is 0.0.6 (download, md5).

Other releases can be downloaded from here. They are only provided as source code.

The code is maintained using the git CVS. It can be

  • downloaded: git clone git://gauvain.pocentek.net/libsnippet.git
  • browsed online

Contact

Please send bug reports, feature requests, patches, comments to gauvain AT pocentek DOT net, or use the contact form.