Top (GNAT Coding Style A Guide for GNAT Developers)

## Table of Contents

- 1 General
- 2 Lexical Elements
  - 2.1 Character Set and Separators
  - 2.2 Identifiers
  - 2.3 Numeric Literals
  - 2.4 Reserved Words
  - 2.5 Comments
- 3 Declarations and Types
- 4 Expressions and Names
- 5 Statements
  - 5.1 Simple and Compound Statements
  - 5.2 If Statements
  - 5.3 Case Statements
  - 5.4 Loop Statements
  - 5.5 Block Statements
- 6 Subprograms
  - 6.1 Subprogram Declarations
  - 6.2 Subprogram Bodies
- 7 Packages and Visibility Rules
- 8 Program Structure and Compilation Issues
  - 8.1 GNU Free Documentation License
- Index

Next: General [Contents][Index]

# GNAT Coding Style A Guide for GNAT Developers ¶

> GNAT Coding Style: A Guide for GNAT Developers , Jan 09, 2026

> AdaCore

> Copyright © 2008-2026, Free Software Foundation

- General
- Lexical Elements
- Declarations and Types
- Expressions and Names
- Statements
- Subprograms
- Packages and Visibility Rules
- Program Structure and Compilation Issues
- Index

Next: General [Contents][Index]