C# lexical structure
E183357
C# lexical structure is the set of rules that defines how characters in C# source code are grouped into tokens such as identifiers, keywords, literals, operators, and delimiters.
All labels observed (1)
| Label | Occurrences |
|---|---|
| C# lexical structure canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T1612609 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: C# lexical structure Context triple: [ECMA-334, scope, C# lexical structure]
-
A.
Backus–Naur Form
Backus–Naur Form is a formal notation used to define the syntax of programming languages and other formal grammars in a precise, structured way.
-
B.
Common Language Specification
The Common Language Specification (CLS) is a set of basic language features and rules defined by Microsoft to ensure interoperability and seamless integration among different programming languages targeting the .NET platform.
-
C.
Common Language Infrastructure
Common Language Infrastructure is an open specification developed by Microsoft that defines a language-independent runtime environment for executing and managing code across multiple programming languages and platforms.
-
D.
Chomsky hierarchy
The Chomsky hierarchy is a classification of formal grammars into four types that correspond to increasing levels of generative power and computational complexity in formal language theory.
-
E.
C# programming language
C# is a modern, object-oriented programming language designed for building a wide range of applications on the .NET platform, known for its strong typing, rich standard library, and integration with Visual Studio.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: C# lexical structure Target entity description: C# lexical structure is the set of rules that defines how characters in C# source code are grouped into tokens such as identifiers, keywords, literals, operators, and delimiters.
-
A.
Backus–Naur Form
Backus–Naur Form is a formal notation used to define the syntax of programming languages and other formal grammars in a precise, structured way.
-
B.
Common Language Specification
The Common Language Specification (CLS) is a set of basic language features and rules defined by Microsoft to ensure interoperability and seamless integration among different programming languages targeting the .NET platform.
-
C.
Common Language Infrastructure
Common Language Infrastructure is an open specification developed by Microsoft that defines a language-independent runtime environment for executing and managing code across multiple programming languages and platforms.
-
D.
Chomsky hierarchy
The Chomsky hierarchy is a classification of formal grammars into four types that correspond to increasing levels of generative power and computational complexity in formal language theory.
-
E.
C# programming language
C# is a modern, object-oriented programming language designed for building a wide range of applications on the .NET platform, known for its strong typing, rich standard library, and integration with Visual Studio.
- F. None of above. chosen
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
C# language specification component
ⓘ
lexical grammar ⓘ programming language concept ⓘ |
| constrains | valid identifier names ⓘ |
| definedIn | C# language specification ⓘ |
| defines | tokens in C# source code ⓘ |
| determines | how C# source text is split into tokens ⓘ |
| distinguishes |
contextual keywords
ⓘ
reserved keywords ⓘ |
| domain | programming languages ⓘ |
| groupsCharactersInto |
delimiters
ⓘ
identifiers ⓘ keywords ⓘ literals ⓘ operators ⓘ |
| handles |
documentation comments
ⓘ
multi-line comments ⓘ single-line comments ⓘ |
| includesRuleType |
character literal rules
ⓘ
comment syntax rules ⓘ delimiter token rules ⓘ escape sequence rules ⓘ identifier formation rules ⓘ numeric literal rules ⓘ operator token rules ⓘ preprocessing directive lexical rules ⓘ punctuation token rules ⓘ string literal rules ⓘ tokenization rules ⓘ |
| influences | parsing of C# programs ⓘ |
| language |
C# programming language
ⓘ
surface form:
C#
|
| partOf |
C# programming language
ⓘ
surface form:
C# language
|
| precedes | C# syntactic grammar ⓘ |
| relatedTo |
lexical analysis
ⓘ
tokenization ⓘ |
| supportsFeature |
Unicode escape sequences
ⓘ
interpolated string literals ⓘ numeric literal prefixes ⓘ numeric literal suffixes ⓘ preprocessor symbols ⓘ verbatim string literals ⓘ |
| usedBy |
C# code analyzers
ⓘ
C# compiler ⓘ C# syntax highlighters ⓘ |
| usesConcept |
Unicode characters
ⓘ
comments ⓘ line terminators ⓘ preprocessing directives ⓘ source character set ⓘ whitespace ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: C# lexical structure Description of subject: C# lexical structure is the set of rules that defines how characters in C# source code are grouped into tokens such as identifiers, keywords, literals, operators, and delimiters.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.