Introduction
The language
1.
Lexical Structure
1.1.
Input Format
1.2.
Whitespace
1.3.
Comments
1.4.
Keywords
1.5.
Identifiers
1.6.
Literals
1.7.
Punctuation
1.8.
Tokens
2.
Statements and Expressions
2.1.
Statements
2.1.1.
Type Definitions
2.1.2.
Declarations
2.2.
Expressions
2.2.1.
Literal Expressions
2.2.2.
Parenthesized Expressions
2.2.3.
Block Expressions
2.2.4.
Operator Expressions
3.
Type System
3.1.
Primitive Types
3.2.
Array Types
3.3.
Tuple Types
3.4.
Function Types
3.5.
Struct Types
3.6.
Enum Types
3.7.
Inferred Type
Light (default)
Rust
Coal
Navy
Ayu
Koj language reference
Lexical Structure
This chapter describes the lexical structure of the language.
Input Format
Whitespace
Comments
Keywords
Identifiers
Literals
Punctuation
Tokens