From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.user Subject: stis-data Date: Tue, 11 Feb 2020 23:16:13 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67053"; mail-complaints-to="usenet@ciao.gmane.io" To: Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Feb 11 23:16:40 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1dpf-000HMu-M2 for guile-user@m.gmane-mx.org; Tue, 11 Feb 2020 23:16:39 +0100 Original-Received: from localhost ([::1]:57806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1dpe-0008OK-OI for guile-user@m.gmane-mx.org; Tue, 11 Feb 2020 17:16:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34726) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1dpT-0008O0-6T for guile-user@gnu.org; Tue, 11 Feb 2020 17:16:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1dpS-0004De-0S for guile-user@gnu.org; Tue, 11 Feb 2020 17:16:26 -0500 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:42878) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1dpR-0004CN-Oj for guile-user@gnu.org; Tue, 11 Feb 2020 17:16:25 -0500 Original-Received: by mail-wr1-x432.google.com with SMTP id k11so14497624wrd.9 for ; Tue, 11 Feb 2020 14:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=TD6O4SAqTIBTeePwkg4LBnmm0W3aGQ+piwCBHQvPyYs=; b=ZRfGXvlDAOwyRoGdySzX8+Os7pkH8uH7ZEKCd4B9ppsK/KY11VCNlA6QGXiyLsQ7Lq DouLZOt1XAzrqk+z8xvHfffi+VwE3TaLgI+iMPqXLXxWmBZeb3Ek2XLMBA5kpVd5CpTH jz/DfnATJZd7iHzdPg/lm/8UF+vS/hL5uZbVYe/QDZg4TLV/mVbFFlC407ibYViVAVdL pY8p2R/FelI4rKl1ggDc6GRTZmv1kJf4OXSdPly4GWYzyw/Zi8HixBsiGj52+3YT0R4n pRf/OUD2dOYno5XWGNFfvkoUDl8S6LHw76xAfqCzU6RH2QnHufLYuxxudFaYBpkD78Yu K5lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TD6O4SAqTIBTeePwkg4LBnmm0W3aGQ+piwCBHQvPyYs=; b=W4i7I7Y+LFEfFw/WpUCE55812x4Ifh7aHFa8JQLWuE6eH9p4zAq5DWriGSLaIU1jZJ zkrqWDSxvVCf6ANna76aZIBcOD5L8DtU9J+krLZiMGx67DUWoprwVmkclzdf5oIadCha /45IxQY2Df6ZH6agcfIndM0tDDXGqsD4WEC9a6jzZSjnYwbDF/iKRhWa1GYKLVy+0XQ5 Y1AIqVVII9TVdt8DHbbZGbmz6RzOHqu73TJbWjuYEtLbrlFfGGvUaXmmWlQIpb1dosdf j0jqAtmAM8aRNSy/JDa+Ol4z+2vvLKTGOuap/HPbbhd2FSkQ1LtVop1cWfawOEoHBcz5 242A== X-Gm-Message-State: APjAAAU2hlqQtIhe4ghFOqtQGHdCZPtHqif98wsFgoYyuuDYJeVJ4r+U /m2ItGRo6CcGI3GN7Ul84Udm2k97XelfWKD4z6ZfKBfQ X-Google-Smtp-Source: APXvYqwkyL08nTlTbBiGgVWcmbXCXxH+4xzGaO+S7RK9o0q1fx3SKij/+u/PMbZnPsHSo1scyvdmMRkAEhTS7+MyTs8= X-Received: by 2002:a05:6000:108b:: with SMTP id y11mr11197155wrw.187.1581459384348; Tue, 11 Feb 2020 14:16:24 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::432 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16155 Archived-At: 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.