aboutsummaryrefslogtreecommitdiff
path: root/docs/main.rst
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-08-02 01:20:12 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-09-25 02:40:23 +0200
commit288727f09a1b3458c268497d111349e608c3f9fa (patch)
treed62565249fa3c7127856c65405752572fc41aca9 /docs/main.rst
Diffstat (limited to 'docs/main.rst')
-rw-r--r--docs/main.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/main.rst b/docs/main.rst
new file mode 100644
index 0000000..075cc1c
--- /dev/null
+++ b/docs/main.rst
@@ -0,0 +1,15 @@
+Main
+====
+
+Implementation of `main` function is responsible for initialization of
+required structures and calling REPL function.
+
+
+Source code
+-----------
+
+main.c
+''''''
+
+.. literalinclude:: ../src_c/main.c
+ :language: c