[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stis-data
From: |
Stefan Israelsson Tampe |
Subject: |
Re: stis-data |
Date: |
Wed, 12 Feb 2020 11:08:54 +0100 |
This is a good idea
On Tue, Feb 11, 2020 at 11:28 PM John Cowan <address@hidden> wrote:
> Please document the binary format so that it is possible to write code in
> non-Guile (other Schemes or anything else) that can interoperate with it.
>
> On Tue, Feb 11, 2020 at 5:16 PM Stefan Israelsson Tampe <
> address@hidden> wrote:
>
>> HI,
>>
>> I just want to announce my pure guile safe serialiser that serialises and
>> deserialise guile datastructures to a byte format. It can either keep the
>> data compressed more or less and by default the original datastructure is
>> perfectly represented. It can represents all datastructures that are
>> atoms,
>> lists, vectors, variables, structs or objects.
>>
>> classes and objects need to have a target class or struct references in a
>> module for it to work
>>
>> This repository should be a safer option that a simple read/write
>> serialization.
>>
>> For a small part of the API and a little example see README
>>
>> REPO:
>> https://gitlab.com/tampe/stis-data
>>
>> A similar repo is
>> https://gitlab.com/tampe/guile-persist
>>
>> That is more feature complete (includes serialisation of lambdas and
>> continuations and whatnot) but is unsafe.
>>
>
- stis-data, Stefan Israelsson Tampe, 2020/02/11