aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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