summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-28 21:00:29 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-28 21:00:29 -0700
commit8f79bdd128e7ffcd471ad5f00e33a49619c41e6e (patch)
tree5b84236d77340fa0001d81064e33392e9410b325 /share
parent936314c70f9356db993cfbe781919026e2df042c (diff)
downloadtxr-8f79bdd128e7ffcd471ad5f00e33a49619c41e6e.tar.gz
txr-8f79bdd128e7ffcd471ad5f00e33a49619c41e6e.tar.bz2
txr-8f79bdd128e7ffcd471ad5f00e33a49619c41e6e.zip
json: tojson function.
* eval.c (eval_init): tojson intrinsic registered. * lib.c (tojson): New function. * lib.h (tojson): Declared. * txr.1: Documented. * share/txr/stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/doc-syms.tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/txr/stdlib/doc-syms.tl b/share/txr/stdlib/doc-syms.tl
index 1b9eb503..1e12d115 100644
--- a/share/txr/stdlib/doc-syms.tl
+++ b/share/txr/stdlib/doc-syms.tl
@@ -1854,6 +1854,7 @@
("tofloatz" "N-03E2D4B8")
("toint" "N-01DBC9D7")
("tointz" "N-03E2D4B8")
+ ("tojson" "N-017848BD")
("tok" "N-0117F60C")
("tok-str" "N-0225F28F")
("tok-where" "N-0225F28F")