flush
[m6w6/ext-psi] / idl / compiler.h
diff --git a/idl/compiler.h b/idl/compiler.h
new file mode 100644 (file)
index 0000000..cbf6039
--- /dev/null
@@ -0,0 +1,15 @@
+#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_CompilerInit(PSI_Compiler *C, PSI_Validator *V);
+
+#endif