ide: advertise typed-language keywords

This commit is contained in:
Hermes Agent
2026-09-10 08:42:49 +00:00
parent 6db0958d59
commit 1fb43e306a
7 changed files with 46 additions and 2 deletions
+3
View File
@@ -31,6 +31,9 @@ def main():
if ".claro" not in data["file_extensions"]:
fail("IDE metadata must advertise the .claro file extension")
for keyword in ("RETURNS", "CHECK", "TYPE"):
if keyword not in data["keywords"]:
fail(f"IDE metadata must include the current typed-language keyword: {keyword}")
if "LIST OF TEXT" not in data["types"]:
fail("IDE metadata must include typed container types")
if not any(cmd.get("name") == "typecheck" for cmd in data["commands"]):