Skip to content

Commit

Permalink
srfi-159: add missing pretty printing procedures
Browse files Browse the repository at this point in the history
like the rest of srfi-159, this is coming straight from the chibi reference
implementation

furthermore, restrict export of pretty-shared and written-shared since they are
part of srfi-166
  • Loading branch information
dwdv authored and fare committed Jan 14, 2021
1 parent 4d4cbaf commit cfc8f43
Show file tree
Hide file tree
Showing 5 changed files with 404 additions and 6 deletions.
10 changes: 10 additions & 0 deletions src/std/build-deps
Original file line number Diff line number Diff line change
Expand Up @@ -397,12 +397,22 @@
(std/srfi/159/color
(gxc: "srfi/159/color" (extra-inputs: ("srfi/159/color.scm")))
(gerbil/core std/srfi/13 std/srfi/159/base))
(std/srfi/159/pretty
(gxc: "srfi/159/pretty" (extra-inputs: ("srfi/159/pretty.scm")))
(gerbil/core
std/srfi/1
std/srfi/125
std/srfi/130
std/srfi/159/base
std/srfi/159/show
std/srfi/159/string))
(std/srfi/159
"srfi/159"
(gerbil/core
std/srfi/159/base
std/srfi/159/color
std/srfi/159/columnar
std/srfi/159/pretty
std/srfi/159/show
std/srfi/159/unicode))
(std/srfi/160/macros
Expand Down
1 change: 1 addition & 0 deletions src/std/build-spec.ss
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
"srfi/159/columnar"
(gxc: "srfi/159/unicode" (extra-inputs: ("srfi/159/unicode.scm")))
(gxc: "srfi/159/color" (extra-inputs: ("srfi/159/color.scm")))
(gxc: "srfi/159/pretty" (extra-inputs: ("srfi/159/pretty.scm")))
"srfi/159"
"srfi/160/cvector"
"srfi/160/base"
Expand Down
17 changes: 11 additions & 6 deletions src/std/srfi/159.ss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
./159/show
./159/columnar
./159/unicode
./159/color)
(export (import: ./159/base
./159/show
./159/columnar
./159/unicode
./159/color))
./159/color
./159/pretty)
(export
(except-out (import: ./159/base
./159/show
./159/columnar
./159/unicode
./159/color
./159/pretty)
written-shared
pretty-shared))
Loading

0 comments on commit cfc8f43

Please sign in to comment.