aboutsummaryrefslogtreecommitdiff
path: root/include/cu/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cu/compiler.h')
-rw-r--r--include/cu/compiler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cu/compiler.h b/include/cu/compiler.h
new file mode 100644
index 0000000..325c746
--- /dev/null
+++ b/include/cu/compiler.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+
+#ifndef CT_COMPILER_H
+#define CT_COMPILER_H
+
+#include <cu/scope.h>
+
+int compile(const char *file);
+int process_file(struct scope **parent, int public, const char *file);
+
+#endif /* CT_COMPILER_H */