Gauche

ii  gauche           0.9.3.3-8  amd64      Scheme script engine
ii  gauche-gdbm      0.9.3.3-8  amd64      gdbm binding for Gauche
ii  libgauche-0.9-0  0.9.3.3-8  amd64      Gauche runtime shared library
Gauche プログラミング(立読み版)

sudo gauche-package install Gauche-text-json-0.2.tgz

$ gosh -V
Gauche scheme shell, version 0.9.3.3 [utf-8,pthreads], x86_64-unknown-linux-gnu


$ gosh
gosh> (+ 8 3)
11
gosh> (exit)

$ gosh
gosh> (use rfc.json)
#
gosh> (define obj '(("foo" . 1) ("bar" . #(2 3))))
obj
gosh> (construct-json-string obj)
"{\"foo\":1,\"bar\":[2,3]}"
gosh> (exit)
$
result_aa

outarea_aa
outarea_bb
outarea_cc
outarea_dd
outarea_ee
outarea_ff
outarea_gg
outarea_hh

Return

May/09/2023 AM 08:15