aboutsummaryrefslogtreecommitdiff
path: root/docs/write.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/write.rst')
-rw-r--r--docs/write.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/write.rst b/docs/write.rst
new file mode 100644
index 0000000..b90e2e1
--- /dev/null
+++ b/docs/write.rst
@@ -0,0 +1,27 @@
+Data writer
+===========
+
+Data writer enables serialization of data as string characters written
+to output stream. Same encoding rules that apply to data reader also apply to
+data writer.
+
+Additionally, data writer will provide informative representation of data
+types which can not be parsed by data reader (`builtin function`,
+`builtin syntax`, `function` and `syntax`).
+
+
+Source code
+-----------
+
+write.h
+'''''''
+
+.. literalinclude:: ../src_c/write.h
+ :language: c
+
+
+write.c
+'''''''
+
+.. literalinclude:: ../src_c/write.c
+ :language: c