aboutsummaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/parse.h b/parse.h
new file mode 100644
index 0000000..94d6fa8
--- /dev/null
+++ b/parse.h
@@ -0,0 +1,12 @@
+#ifndef PARSER_H
+#define PARSER_H
+
+struct atom;
+struct list;
+
+int parse_next(const char *src, int *pos, struct atom **result);
+struct list *parse(const char *src, int *pos);
+
+void print_list(struct list *list, int level);
+
+#endif