flush
[m6w6/ext-psi] / src / compiler.h
diff --git a/src/compiler.h b/src/compiler.h
new file mode 100644 (file)
index 0000000..c5e447f
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef _PSI_COMPILER_H
+#define _PSI_COMPILER_H
+
+#include "validator.h"
+
+typedef struct PSI_Compiler {
+       decl_typedefs *defs;
+       decls *decls;
+       impls *impls;
+       char *lib;
+       char *fn;
+} PSI_Compiler;
+
+PSI_Compiler *PSI_CompilerInit(PSI_Compiler *C, PSI_Validator *V);
+
+#endif