diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-07-20 19:11:21 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-08 11:22:31 +0200 |
commit | 5817e222faf46f76fbdb66ba8fd6c8cd643aefb5 (patch) | |
tree | a5381405268e393c65f24f532a38d01635412aad /gnu/services | |
parent | bc3eaf9d83c5f227681f43bbc70067d92fc72193 (diff) | |
download | guix-5817e222faf46f76fbdb66ba8fd6c8cd643aefb5.tar.gz guix-5817e222faf46f76fbdb66ba8fd6c8cd643aefb5.zip |
style: Move reader and printer to (guix read-print).
* guix/scripts/style.scm (<comment>, read-with-comments)
(vhashq, %special-forms, %newline-forms, prefix?)
(special-form-lead, newline-form?, escaped-string)
(string-width, canonicalize-comment, pretty-print-with-comments)
(object->string*): Move to...
* guix/read-print.scm: ... here. New file.
* guix/scripts/import.scm: Adjust accordingly.
* tests/style.scm: Move 'test-pretty-print' and tests to...
* tests/read-print.scm: ... here. New file.
* Makefile.am (MODULES): Add 'guix/read-print.scm'.
(SCM_TESTS): Add 'tests/read-print.scm'.
Diffstat (limited to 'gnu/services')
0 files changed, 0 insertions, 0 deletions