SRFI 38: I/O for data with shared structure
This egg provides forms for reading and writing data containing shared structure. By using these forms, circular lists and similar data can be printed and read reliably, something that is impossible in vanilla CHICKEN.
In addition to the SRFI forms, this egg also provides REPL support for shared structure I/O via the make-repl-support-shared-structure procedure.
TOC »
SRFI Description
This page is intended to document the forms exported by this egg. For a full description of SRFI 38, see the SRFI document.
Documentation
See SRFI-38 document.
This implementation extends write-with-shared-structure to accept the optional keyword parameter #:ignore-strings, which is true will treat strings as normal (nonshared) objects even if repeated.
The utility `make-repl-support-shared-structure' is also provided to support printing results at the REPL with shared structure.
Changelog
- 0.10
- Add CHICKEN 6 support.
- 0.9
- Fixed issue 2
- 0.8
- Registered srfi-38 feature.
- 0.7
- Removed extra, incorrect "license" clause from egg.
- 0.6
- Ported to CHICKEN 5.
- 0.4
- Small bugfixes, re-introducing the ignore-strings: parameter, supporting #true and #false.
- 0.3
- ...
- 0.2
- ...
- 0.1
- Rewrite from scratch by Alex Shinn.
About this egg
Authors
SRFI 38 was created by Ray Dillinger.
The implementation used in this egg is by Alex Shinn.
Originally ported to CHICKEN 5 by Sergey Goldgaber.
Maintainer
Wolfgang Corcoran-Mathe
Contact: wcm at sigwinch dot xyzzy minus the zy
Repository
License
This code was written by Alex Shinn in 2009 and dedicated to the public domain. All warranties are disclaimed.