Rewrite printing of #[...] forms, for simplicity now and later for sharing.
authorChris Hanson <org/chris-hanson/cph>
Tue, 8 Jan 2019 08:46:39 +0000 (00:46 -0800)
committerChris Hanson <org/chris-hanson/cph>
Tue, 8 Jan 2019 08:46:39 +0000 (00:46 -0800)
commit4bf62b27dc7810abcaccef08015cc49e31a79413
tree24ec752f177c1025cd5856cd3080a5370e46852e
parentde035853ad010a6c6e660a4cc3cc6b38dd2c606b
Rewrite printing of #[...] forms, for simplicity now and later for sharing.

In order to properly implement datum labels for things inside of bracketed
forms, we need to be able to walk the items that are being printed there.
Previously this would have been very difficult since the insides of these forms
were printed by custom printers.  Now they are exposed as individual objects
that can be walked.

Further work is necessary to include these objects when walking the tree.
src/runtime/printer.scm