AWS Coding Style
A guide for AWS developers


Next: , Up: (dir)

AWS Coding Style


Next: , Previous: Top, Up: Top

1 General

This document described the style rules for the development of the AWS project. The goal is to have a consistent style used for all AWS codes.


Next: , Previous: General, Up: Top

2 Ada 2005

As the Ada 2005 support on GNAT is maturing, it is possible to use some Ada 2005 constructs for AWS development. We list here the features that can be used:

Constructs that are not ready for use:

In addition, all constructs should be compatible with GNAT 6.2 and GPL 2009.


Next: , Previous: Ada 2005, Up: Top

3 Lexical Elements

————————————————————————————————————


Next: , Up: Lexical Elements

3.1 Character Set and Separators


Next: , Previous: Character Set and Separators, Up: Lexical Elements

3.2 Identifiers


Next: , Previous: Identifiers, Up: Lexical Elements

3.3 Numeric Literals


Next: , Previous: Numeric Literals, Up: Lexical Elements

3.4 Reserved Words


Previous: Reserved Words, Up: Lexical Elements

3.5 Comments


Next: , Previous: Lexical Elements, Up: Top

4 Declarations and Types


Next: , Previous: Declarations and Types, Up: Top

5 Expressions and Names


Next: , Previous: Expressions and Names, Up: Top

6 Statements


Next: , Up: Statements

6.1 Simple and Compound Statements


Next: , Previous: Simple and Compound Statements, Up: Statements

6.2 If Statements


Next: , Previous: If Statements, Up: Statements

6.3 Case statements


Next: , Previous: Case statements, Up: Statements

6.4 Loop statements


Previous: Loop statements, Up: Statements

6.5 Block Statements


Next: , Previous: Statements, Up: Top

7 Subprograms


Next: , Up: Subprograms

7.1 Subprogram Declarations


Previous: Subprogram Declarations, Up: Subprograms

7.2 Subprogram Bodies


Next: , Previous: Subprograms, Up: Top

8 Packages and Visibility Rules


Previous: Packages and Visibility Rules, Up: Top

9 Program Structure and Compilation Issues