Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

level-sexp

  1. Outdated egg!
  2. level-sexp
    1. Description
    2. Example use
    3. API
    4. Source code / issues

Description

Read and write s-expressions to a level implementation.

Example use

(use leveldb level level-sexp)

(define db
  (level-sexp (open-db "testdb")))

(db-put db "key" '((name . "test")))
(db-get db "key") ;; => ((name . "test"))

API

[procedure] (level-sexp db)

Wrap another level implementation, enabling read/write of s-expression values instead of raw strings. Keys are not translated from s-expressions to strings, only values.

Source code / issues

https://github.com/caolan/chicken-level-sexp