unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* stis-data
@ 2020-02-11 22:16 Stefan Israelsson Tampe
  2020-02-11 22:28 ` stis-data John Cowan
  2020-02-11 22:34 ` stis-data Zelphir Kaltstahl
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Israelsson Tampe @ 2020-02-11 22:16 UTC (permalink / raw)
  To: Guile User

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stis-data
  2020-02-11 22:16 stis-data Stefan Israelsson Tampe
@ 2020-02-11 22:28 ` John Cowan
  2020-02-12 10:08   ` stis-data Stefan Israelsson Tampe
  2020-02-11 22:34 ` stis-data Zelphir Kaltstahl
  1 sibling, 1 reply; 5+ messages in thread
From: John Cowan @ 2020-02-11 22:28 UTC (permalink / raw)
  To: Stefan Israelsson Tampe; +Cc: Guile User

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 <
stefan.itampe@gmail.com> 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.
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stis-data
  2020-02-11 22:16 stis-data Stefan Israelsson Tampe
  2020-02-11 22:28 ` stis-data John Cowan
@ 2020-02-11 22:34 ` Zelphir Kaltstahl
  2020-02-12 10:07   ` stis-data Stefan Israelsson Tampe
  1 sibling, 1 reply; 5+ messages in thread
From: Zelphir Kaltstahl @ 2020-02-11 22:34 UTC (permalink / raw)
  To: stefan.itampe; +Cc: guile-user

Hi Stefan!

Would this be a good option for a binary format for transmission of data
over network, or is there anything, that would make it less suitable for
such purpose?

Regards,
Zelphir

On 2/11/20 11:16 PM, Stefan Israelsson Tampe 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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stis-data
  2020-02-11 22:34 ` stis-data Zelphir Kaltstahl
@ 2020-02-12 10:07   ` Stefan Israelsson Tampe
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Israelsson Tampe @ 2020-02-12 10:07 UTC (permalink / raw)
  To: Zelphir Kaltstahl; +Cc: Guile User

You might want to compress it with gzip else as a binary format for sending
it it should be good.

On Tue, Feb 11, 2020 at 11:34 PM Zelphir Kaltstahl <
zelphirkaltstahl@posteo.de> wrote:

> Hi Stefan!
>
> Would this be a good option for a binary format for transmission of data
> over network, or is there anything, that would make it less suitable for
> such purpose?
>
> Regards,
> Zelphir
>
> On 2/11/20 11:16 PM, Stefan Israelsson Tampe 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.
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: stis-data
  2020-02-11 22:28 ` stis-data John Cowan
@ 2020-02-12 10:08   ` Stefan Israelsson Tampe
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Israelsson Tampe @ 2020-02-12 10:08 UTC (permalink / raw)
  To: John Cowan; +Cc: Guile User

This is a good idea

On Tue, Feb 11, 2020 at 11:28 PM John Cowan <cowan@ccil.org> 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 <
> stefan.itampe@gmail.com> 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.
>>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-12 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11 22:16 stis-data Stefan Israelsson Tampe
2020-02-11 22:28 ` stis-data John Cowan
2020-02-12 10:08   ` stis-data Stefan Israelsson Tampe
2020-02-11 22:34 ` stis-data Zelphir Kaltstahl
2020-02-12 10:07   ` stis-data Stefan Israelsson Tampe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).