Cminor Language Reference
Table of Contents
1
Lexical Structure
1.1
White Space and Comments
1.1.1
Syntax
1.2
Keywords
1.2.1
Syntax
1.3
Identifiers
1.3.1
Syntax
1.4
Literals
1.4.1
Syntax
2
Basic Types
2.1
Syntax
3
Expressions
3.1
Syntax
4
Type Expressions
4.1
Syntax
5
Statements
5.1
Syntax
6
Access
6.1
Syntax
7
Constants and Enumerations
7.1
Constants
7.1.1
Syntax
7.2
Enumerations
7.2.1
Syntax
8
Functions
8.1
Syntax
9
Classes and Interfaces
9.1
Classes
9.1.1
Syntax
9.2
Interfaces
9.2.1
Syntax
10
Templates
10.1
Syntax
11
Delegates and Class Delegates
11.1
Delegates
11.1.1
Syntax
11.2
Class Delegates
11.2.1
Syntax
12
Compile Units, Projects and Solutions
12.1
Compile Units
12.1.1
Syntax
12.2
Projects
12.2.1
Syntax
12.3
Solutions
12.3.1
Syntax
A
Syntax Notation
A.1
Grammars
A.2
Notation
A.2.1
Alternatives
A.2.2
Sequence
A.2.3
Difference
A.2.4
Exclusive Or
A.2.5
Intersection
A.2.6
List
A.2.7
Postfix
A.2.8
Grouping
A.2.9
Terminals
A.2.10
Keywords
A.2.11
Character classes
A.2.12
Informal rules
A.3
The syntax of the syntax notation in itself