File tree Expand file tree Collapse file tree 1 file changed +37
-12
lines changed Expand file tree Collapse file tree 1 file changed +37
-12
lines changed Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ resource XML { ... }
780780parse-XML-document: func(s: string) -> XML;
781781```
782782
783- This form can't lexically represent WIT keywords, so the second form is the
783+ This form can't lexically represent WIT [ keywords] ( #keywords ) , so the second form is the
784784same syntax with the same restrictions as the first, but prefixed with '%':
785785
786786``` wit
@@ -856,21 +856,46 @@ bare as an identifier. These are used to help parse the format, and the list of
856856keywords is still in flux at this time but the current set is:
857857
858858``` ebnf
859- keyword ::= 'use '
860- | 'type '
861- | 'resource '
862- | 'func '
863- | 'record '
859+ keyword ::= 'as '
860+ | 'bool '
861+ | 'borrow '
862+ | 'char '
863+ | 'constructor '
864864 | 'enum'
865+ | 'export'
866+ | 'f32'
867+ | 'f64'
865868 | 'flags'
866- | 'variant'
867- | 'static'
868- | 'interface'
869- | 'world'
869+ | 'from'
870+ | 'func'
871+ | 'future'
870872 | 'import'
871- | 'export'
872- | 'package'
873873 | 'include'
874+ | 'interface'
875+ | 'list'
876+ | 'option'
877+ | 'own'
878+ | 'package'
879+ | 'record'
880+ | 'resource'
881+ | 'result'
882+ | 's16'
883+ | 's32'
884+ | 's64'
885+ | 's8'
886+ | 'static'
887+ | 'stream'
888+ | 'string'
889+ | 'tuple'
890+ | 'type'
891+ | 'u16'
892+ | 'u32'
893+ | 'u64'
894+ | 'u8'
895+ | 'use'
896+ | 'variant'
897+ | 'wit'
898+ | 'world'
874899```
875900
876901### Integers
You can’t perform that action at this time.
0 commit comments