X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcompiler.h;fp=src%2Fcompiler.h;h=c5e447fe84dbcbb57345becd9fbd33bef9790c8e;hp=0000000000000000000000000000000000000000;hb=f1a387482a9270a34ae684109ad8be7c104148d6;hpb=e87ed355e2944460141e24bf24c2e5b9afe0c1f7 diff --git a/src/compiler.h b/src/compiler.h new file mode 100644 index 0000000..c5e447f --- /dev/null +++ b/src/compiler.h @@ -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