summaryrefslogtreecommitdiff
path: root/lit.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-05-09 02:56:07 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2026-05-31 20:43:27 +0200
commit8c4f46dca6a1bb02082886beac46cbb8e4cf2bbb (patch)
tree2fa198377214bac01713fcfd6004eb7ca3515dfe /lit.h
downloadslcob-8c4f46dca6a1bb02082886beac46cbb8e4cf2bbb.tar.gz
Add project skeleton
Diffstat (limited to 'lit.h')
-rw-r--r--lit.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lit.h b/lit.h
new file mode 100644
index 0000000..e94263c
--- /dev/null
+++ b/lit.h
@@ -0,0 +1,12 @@
+#ifndef LIT_H
+#define LIT_H
+
+#include "lex.h"
+#include "parse.h"
+#include "prv.h"
+
+const struct lit *lit_push(const struct tk *tk, struct prv *p);
+int lit_cgen(const struct lit *l);
+void lit_free(struct lit *l);
+
+#endif