diff --git a/packages/adl/language.grammar b/packages/adl/language.grammar
index 61dee40d8..c5ed037ac 100644
--- a/packages/adl/language.grammar
+++ b/packages/adl/language.grammar
@@ -24,7 +24,7 @@ Keyword :
BooleanLiteral
`import`
`model`
- `interface`
+ `namespace`
Identifier :
IdentifierName but not Keyword
@@ -171,7 +171,7 @@ StatementList :
Statement :
ImportStatement
ModelStatement
- InterfaceStatement
+ NamespaceStatement
`;`
ImportStatement :
@@ -210,19 +210,19 @@ ModelProperty:
ModelSpreadProperty :
`...` Identifier
-InterfaceStatement :
- DecoratorList? `interface` Identifier `{` InterfaceBody? `}`
+NamespaceStatement:
+ DecoratorList? `namespace` Identifier `{` NamespaceBody? `}`
-InterfaceBody :
- InterfacePropertyList `,`?
- InterfacePropertyList `;`?
+NamespaceBody :
+ NamespacePropertyList `,`?
+ NamespacePropertyList `;`?
-InterfacePropertyList :
- InterfaceProperty
- InterfacePropertyList `,` InterfaceProperty
- InterfacePropertyList `;` InterfaceProperty
+NamespacePropertyList :
+ NamespaceProperty
+ NamespacePropertyList `,` NamespaceProperty
+ NamespacePropertyList `;` NamespaceProperty
-InterfaceProperty :
+NamespaceProperty :
DecoratorList? Identifier `(` ModelPropertyList? `)` `:` Expression
Expression :
diff --git a/packages/adl/language.md b/packages/adl/language.md
index 0ff195419..31d6b7a2d 100644
--- a/packages/adl/language.md
+++ b/packages/adl/language.md
@@ -21,7 +21,7 @@
*[BooleanLiteral](#BooleanLiteral)*
`` import ``
`` model ``
- `` interface ``
+ `` namespace ``
*Identifier* **:**
*[IdentifierName](#IdentifierName)* **but not** *[Keyword](#Keyword)*
@@ -157,7 +157,7 @@
*Statement* **:**
*[ImportStatement](#ImportStatement)*
*[ModelStatement](#ModelStatement)*
- *[InterfaceStatement](#InterfaceStatement)*
+ *[NamespaceStatement](#NamespaceStatement)*
`` ; ``
*ImportStatement* **:**
@@ -196,20 +196,20 @@
*ModelSpreadProperty* **:**
`` ... `` *[Identifier](#Identifier)*
- *InterfaceStatement* **:**
- *[DecoratorList](#DecoratorList)*opt `` interface `` *[Identifier](#Identifier)* `` { `` *[InterfaceBody](#InterfaceBody)*opt `` } ``
+ *NamespaceStatement* **:**
+ *[DecoratorList](#DecoratorList)*opt `` namespace `` *[Identifier](#Identifier)* `` { `` *[NamespaceBody](#NamespaceBody)*opt `` } ``
- *InterfaceBody* **:**
- *[InterfacePropertyList](#InterfacePropertyList)* `` , ``opt
- *[InterfacePropertyList](#InterfacePropertyList)* `` ; ``opt
+ *NamespaceBody* **:**
+ *[NamespacePropertyList](#NamespacePropertyList)* `` , ``opt
+ *[NamespacePropertyList](#NamespacePropertyList)* `` ; ``opt
- *InterfacePropertyList* **:**
- *[InterfaceProperty](#InterfaceProperty)*
- *[InterfacePropertyList](#InterfacePropertyList)* `` , `` *[InterfaceProperty](#InterfaceProperty)*
- *[InterfacePropertyList](#InterfacePropertyList)* `` ; `` *[InterfaceProperty](#InterfaceProperty)*
+ *NamespacePropertyList* **:**
+ *[NamespaceProperty](#NamespaceProperty)*
+ *[NamespacePropertyList](#NamespacePropertyList)* `` , `` *[NamespaceProperty](#NamespaceProperty)*
+ *[NamespacePropertyList](#NamespacePropertyList)* `` ; `` *[NamespaceProperty](#NamespaceProperty)*
- *InterfaceProperty* **:**
- *[DecoratorList](#DecoratorList)*opt *[Identifier](#Identifier)* `` ( `` *[ModelPropertyList](#ModelPropertyList)*opt `` ) `` `` : `` *[Expression](#Expression)*
+ *NamespaceProperty* **:**
+ *[DecoratorList](#DecoratorList)*opt *[Identifier](#Identifier)* `` ( `` *[ModelPropertyList](#ModelPropertyList)*opt `` ) `` `` : `` *[Expression](#Expression)*
*Expression* **:**
*[UnionExpressionOrHigher](#UnionExpressionOrHigher)*