mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 02:11:17 +00:00
This follows #1274 , #1325 , #1328 , #1336 , and #1347 . This has miscellaneous changes to the design overview without a particular focus. Also adds some missing keywords to our list of keywords. Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
1.7 KiB
1.7 KiB
Words
Table of contents
Overview
A word is a lexical element formed from a sequence of letters or letter-like
characters, such as fn or Foo or Int.
The exact lexical form of words has not yet been settled. However, Carbon will follow lexical conventions for identifiers based on Unicode Annex #31. TODO: Update this once the precise rules are decided; see the Unicode source files proposal.
Keywords
The following words are interpreted as keywords:
abstractaddraliasandapiasautobasebreakcaseclassconstraintcontinuedefaultelseextendsexternalfinalfnforforallfriendifimplimportininterfaceisletlibrarylikematchnamespacenotobserveoroverridepackagepartialprivateprotectedreturnreturnedthenvarvirtualwherewhile
Alternatives considered
References
- Proposal #142: Unicode source files