Enforce naming conventions and allow empty (except for the header) types.hal files.
diff --git a/AST.h b/AST.h
index f58bf7e..497deb7 100644
--- a/AST.h
+++ b/AST.h
@@ -19,11 +19,13 @@
AST(Coordinator *coordinator);
~AST();
- static AST *Parse(const char *path);
-
bool setPackage(const char *package);
bool addImport(const char *import);
+ // package and version really.
+ FQName package() const;
+ bool isInterface(std::string *ifaceName) const;
+
void enterScope(Scope *container);
void leaveScope();
Scope *scope();