Implement R7RS write procedures with datum labels.
authorChris Hanson <org/chris-hanson/cph>
Sat, 12 May 2018 06:20:31 +0000 (23:20 -0700)
committerChris Hanson <org/chris-hanson/cph>
Sat, 12 May 2018 06:20:31 +0000 (23:20 -0700)
commit58bae6482a58dbdcaba28ef175bf1b6f57fd8e2a
treea5b5885d37d9bb757bcff208744b3b49c74eb84f
parentf1c07f1f4b395a35b7a451327f117b72274a6d62
Implement R7RS write procedures with datum labels.

For now, write and write-shared do the same thing.  Limiting the labeling to
circularities is harder than doing all sharing, and unless I can find some new
algorithms, it is slower too.  So write will generate more datum labels than
strictly necessary, but it is safe for printing circular structures.
src/runtime/output-port.scm
src/runtime/printer.scm
src/runtime/runtime.pkg