aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-09-28 04:59:07 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-09-28 04:59:07 +0300
commit6b08e86c9a16bfac5a208a04926dcc66b861a096 (patch)
treed0aa6b84d1d0bd62268434187d12f7bf02397030 /include
parentaee665f2bc7d66d5e6ecb1e31f9e2ccf614c7fa2 (diff)
downloadcsx-6b08e86c9a16bfac5a208a04926dcc66b861a096.tar
csx-6b08e86c9a16bfac5a208a04926dcc66b861a096.tar.xz
csx-6b08e86c9a16bfac5a208a04926dcc66b861a096.zip
Something...
Diffstat (limited to 'include')
-rw-r--r--include/csx/csx.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/csx/csx.h b/include/csx/csx.h
new file mode 100644
index 0000000..db2d1b3
--- /dev/null
+++ b/include/csx/csx.h
@@ -0,0 +1,25 @@
+#ifndef CSX_INCLUDED
+#define CSX_INCLUDED
+
+
+struct csx_pair {
+ void *car;
+ void *cdr;
+};
+
+typedef struct csx_pair *(csx_type_function_list)(void *head, ...);
+struct csx_pair *csx_list(void *head, ...);
+
+typedef char *(csx_type_function_string)(const char *string);
+char *csx_string(const char *string);
+
+typedef char *(csx_type_function_atom)(const char *name);
+char *csx_atom(const char *name);
+
+typedef void *(csx_type_function_evaluate)(void *expression);
+void *csx_evaluate(void *expression);
+
+void csx_free();
+
+
+#endif