Ada: differenze tra le versioni
corr. link |
wikificato e sistemato |
||
Riga 1: | Riga 1: | ||
{{T|url=http://en.wikibooks.org/wiki/Ada_Programming}} |
{{T|url=http://en.wikibooks.org/wiki/Ada_Programming}} |
||
{{Da wikificare}} |
|||
[[Immagine:Ada Lovelace 1838.jpg|right|caption|thumbnail|270px|[[w:Ada Lovelace|Augusta Ada King]], Contessa di Lovelace.]] |
[[Immagine:Ada Lovelace 1838.jpg|right|caption|thumbnail|270px|[[w:Ada Lovelace|Augusta Ada King]], Contessa di Lovelace.]] |
||
__TOC__ |
|||
:'''[[/Copertina/]]''' |
|||
==Prefazione== |
==Prefazione== |
||
Riga 13: | Riga 7: | ||
Questo è il primo tutorial dedicato al linguaggio di programmazione Ada che contenga anche la descrizione dello standard Ada 2005. |
Questo è il primo tutorial dedicato al linguaggio di programmazione Ada che contenga anche la descrizione dello standard Ada 2005. |
||
Se sei un principiante potrai imparare il nuovo standard |
Se sei un principiante potrai imparare il nuovo standard; se, invece, sei un esperto utilizzatore di Ada potrai conoscerne le novità. |
||
===Cenni |
=== Cenni generali sull'Ada === |
||
Ada è un linguaggio di programmazione che prende il suo nome da Augusta Ada Byron, Contessa di Lovelace. |
Ada è un linguaggio di programmazione che prende il suo nome da Augusta Ada Byron, Contessa di Lovelace. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | Il ''Reference Manual'' (RM) di Ada (nome completo ''[[w:ISO 8652|Ada Reference Manual, ISO/IEC 8652:1995(E)]]'') è la definizione ufficiale del linguaggio. Se hai delle domande a cui non trovi risposta, potresti trovare qualcosa nel RM. Per questa ragione, tutte le pagine complete di questo libro contengono link verso le pagine RM appropriate. |
||
⚫ | |||
⚫ | Il Reference Manual (RM) di |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
*There are two documents related with the RM: |
|||
⚫ | |||
⚫ | |||
* The draft for the upcoming Ada 2005 can be found here. Beware: it's not finished yet. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Altri documenti correlati sono: |
|||
⚫ | |||
⚫ | |||
La bozza delle le specifiche di Ada 2005 può essere trovata qua: |
|||
⚫ | |||
<!-- |
|||
=== Ada Conformity Assessment Test Suite === |
=== Ada Conformity Assessment Test Suite === |
||
Unlike other programming languages, Ada compilers are officially tested and only those which pass this test are accepted for military and commercial work. This means that all Ada compilers behave (almost) the same, so you do not have to learn any dialects. But because the Ada standard allows the compiler writers to include some additions, you could learn a cool new feature only to find out that your favorite compiler does not support it.... |
Unlike other programming languages, Ada compilers are officially tested and only those which pass this test are accepted for military and commercial work. This means that all Ada compilers behave (almost) the same, so you do not have to learn any dialects. But because the Ada standard allows the compiler writers to include some additions, you could learn a cool new feature only to find out that your favorite compiler does not support it....--> |
||
== Sommario == |
|||
* {{modulo|Ada/Copertina|breve}} |
|||
=== Per iniziare === |
|||
* {{modulo|Ada/Basi|Basi|breve}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
Dove trovare un compilatore, o come compilare il sorgente, tutte le risposte qui: |
|||
* [[Ada/Basi|Le Basi Dell'Ada]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
These chapters look at the broader picture. They are more tutorial like and show how the keyword, operators and so forth work together. |
These chapters look at the broader picture. They are more tutorial like and show how the keyword, operators and so forth work together. |
||
* {{modulo|Ada/Controllo|Strutture di controllo}} |
|||
* [[Ada Programming/Control|Control Structures]] |
|||
* |
* {{modulo|Ada/Subtypes|Types and Subtypes}} |
||
* |
* {{modulo|Ada/Strings|Strings}} |
||
* |
* {{modulo|Ada/Subprograms|Subprograms}} |
||
* |
* {{modulo|Ada/Packages|Packages}} |
||
* |
* {{modulo|Ada/Input Output|Input Output}} |
||
* |
* {{modulo|Ada/Exceptions|Exceptions}} |
||
* |
* {{modulo|Ada/Generics|Generics}} |
||
* |
* {{modulo|Ada/Tasking|Tasking}} |
||
* |
* {{modulo|Ada/Object Orientation|Object Orientation}} |
||
* |
* {{modulo|Ada/Memory|Memory management}} |
||
* |
* {{modulo|Ada/Ada 2005|New in Ada 2005}} |
||
* |
* {{modulo|Ada/Tips|Ada Programming Tips}} |
||
=== Computer Programming === |
=== Computer Programming === |
||
Riga 70: | Riga 61: | ||
The following articles are Ada adaptations from articles of the [[Computer programming]] book. The texts of these articles are language neutral but the examples are all Ada. |
The following articles are Ada adaptations from articles of the [[Computer programming]] book. The texts of these articles are language neutral but the examples are all Ada. |
||
* |
* {{modulo|Ada/Algorithms|Algorithms}} |
||
* |
* {{modulo|Ada/Function overloading|Function overloading}} |
||
* |
* {{modulo|Ada/Mathematical calculations|Mathematical calculations}} |
||
* |
* {{modulo|Ada/Statements|Statements}} |
||
** |
** {{modulo|Ada/Control|Control Statements}} |
||
* |
* {{modulo|Ada/Variables|Variables}} |
||
=== Language Summary === |
=== Language Summary === |
||
Riga 81: | Riga 72: | ||
Within the following chapters we look at foundations of Ada. These chapters may be used for reference of a particular keyword, delimiter, operator and so forth. |
Within the following chapters we look at foundations of Ada. These chapters may be used for reference of a particular keyword, delimiter, operator and so forth. |
||
* |
* {{modulo|Ada/Keywords|Keywords}} |
||
* |
* {{modulo|Ada/Delimiters|Delimiters}} |
||
* |
* {{modulo|Ada/Operators|Operators}} |
||
* |
* {{modulo|Ada/Types|Types}} |
||
* |
* {{modulo|Ada/Attributes|Attributes}} |
||
* |
* {{modulo|Ada/Pragmas|Pragmas}} |
||
=== |
=== Librarie predefinite === |
||
The library which comes with Ada in general and [[w:GNAT|GNAT]] in particular. Ada's built in library is quite extensive and well structured. These chapters too are more reference like. |
The library which comes with Ada in general and [[w:GNAT|GNAT]] in particular. Ada's built in library is quite extensive and well structured. These chapters too are more reference like. |
||
* |
* {{modulo|Ada/Libraries/Standard|Standard}} |
||
* |
* {{modulo|Ada/Libraries/Ada|Ada}} |
||
* |
* {{modulo|Ada/Libraries/Interfaces|Interfaces}} |
||
* |
* {{modulo|Ada/Libraries/System|System}} |
||
* |
* {{modulo|Ada/Libraries/GNAT|GNAT}} |
||
=== |
=== Altre librerie === |
||
Other libraries which are not part of the standard but freely available. |
Other libraries which are not part of the standard but freely available. |
||
* |
* {{modulo|Ada/Libraries|Libraries}} |
||
** |
** {{modulo|Ada/Libraries/MultiPurpose|Multi Purpose}} |
||
** |
** {{modulo|Ada/Libraries/Container|Container Libraries}} |
||
** |
** {{modulo|Ada/Libraries/GUI|GUI Libraries}} |
||
** |
** {{modulo|Ada/Libraries/Distributed|Distributed Objects}} |
||
** |
** {{modulo|Ada/Libraries/Database|Database}} |
||
** |
** {{modulo|Ada/Libraries/Web|Web Programming}} |
||
** |
** {{modulo|Ada/Libraries/IO|Input/Output}} |
||
* |
* {{modulo|Ada/Platform|Platform}} |
||
** |
** {{modulo|Ada/Platform/Linux|Programming Ada 95 in Linux}} |
||
** |
** {{modulo|Ada/Platform/Windows|Programming Ada 95 in Windows}} |
||
** |
** {{modulo|Ada/Platform/VM|Programming Ada 95 in Virtual Machines (Java, .NET)}} |
||
* |
* {{modulo|Ada/Portals|Open-source portals}} |
||
== See also == <!-- When the link list becomes too large we move it off to a separate wiki page --> |
|||
* [[Ada Programming/Wikis|AdaWikiRing]] — A list of Ada Wikis |
|||
* [http://www.adapower.com AdaPower] — Ada Tools and Resources |
|||
* [http://www.adaworld.com Ada World] — A brand new Ada related website |
|||
* [http://www.ada-answers.com Ada Answers] — Building better software with Ada |
|||
* [http://www.computer-books.us/ada95.php Computer-Books.us] — Online Ada books |
|||
== Authors and contributors == |
|||
This Wikibook has been written by: |
|||
* [[Utente:Krischik|Martin Krischik]] ([[Speciale:Contributions/Krischik|Contributions]]) |
|||
* [[Utente:ManuelGR|Manuel Gómez]] ([[Speciale:Contributions/ManuelGR|Contributions]]) |
|||
* [[Utente:suruena|Santiago Urueña]] ([[Speciale:Contributions/suruena|Contributions]]) |
|||
* C.K.W. Grein ([[Speciale:Contributions/53.122.157.1|Contributions]]) |
|||
* Bill Findlay ([[Speciale:Contributions/82.41.187.188|Contributions]]) |
|||
* [[Utente:Bseidel|B. Seidel]] ([[Speciale:Contributions/Bseidel|Contributions]]) |
|||
* [[Utente:Sjw|Simon Wright]] ([[Speciale:Contributions/Sjw|Contributions]]) |
|||
* [[Utente:Alsocal|Allen Lew]] ([[Speciale:Contributions/Alsocal|Contributions]]) |
|||
* [[Utente:oleszkie|John Oleszkiewicz]] ([[Speciale:Contributions/oleszkie|Contributions]]) |
|||
* [[Utente:Nikai|Nicolas Kaiser]] ([[Speciale:Contributions/Nikai|Contributions]]) |
|||
* [[Utente:Larry Luther|Larry Luther]] ([[Speciale:Contributions/Larry Luther|Contributions]]) |
|||
* Ed Falis |
|||
* Pascal Obry |
|||
* Unnamed Hero ([[Speciale:Contributions/80.156.44.1|Contributions]]) |
|||
If you wish to contribute as well you should read [[Discussione:Ada Programming/Contributing|Contributing]] and join us at the [[Discussione:Ada Programming/Contributors lounge|Contributors lounge]]. |
|||
{{Link AdQ|en}} |
{{Link AdQ|en}} |
Versione delle 16:31, 26 gen 2008
Questa è una pagina la cui traduzione dalla lingua inglese va completata o migliorata. La versione originale si trova al link [[1]] |
Prefazione
Benvenuti!! Questo wikibook, iniziato come traduzione dall'inglese, si propone come tutorial per la programmazione in Ada.
Questo è il primo tutorial dedicato al linguaggio di programmazione Ada che contenga anche la descrizione dello standard Ada 2005. Se sei un principiante potrai imparare il nuovo standard; se, invece, sei un esperto utilizzatore di Ada potrai conoscerne le novità.
Cenni generali sull'Ada
Ada è un linguaggio di programmazione che prende il suo nome da Augusta Ada Byron, Contessa di Lovelace. Include alcune caratteristiche che supportano direttamente, una programmazione orientata agli oggetti strutturata.
Ada è una buona scelta per il Rapid Application Development (sviluppo rapido di applicazioni), Extreme Programming (XP), e per lo sviluppo di software libero.
Il Reference Manual del linguaggio Ada
Il Reference Manual (RM) di Ada (nome completo Ada Reference Manual, ISO/IEC 8652:1995(E)) è la definizione ufficiale del linguaggio. Se hai delle domande a cui non trovi risposta, potresti trovare qualcosa nel RM. Per questa ragione, tutte le pagine complete di questo libro contengono link verso le pagine RM appropriate.
Puoi ottenere l'RM completo per Ada 95 in uno dei seguenti siti:
- http://www.adahome.com
- http://www.adaic.org/standards/95lrm/html/RM-TTL.html
- http://www.adapower.com/rm95.php
Altri documenti correlati sono:
- The Annotated Reference Manual, an extended version of the RM aimed at compiler writers or other persons who want to know the fine details of the language.
- The Reference Manual Rationale, an explanation of the features of the language.
La bozza delle le specifiche di Ada 2005 può essere trovata qua:
Sommario
Per iniziare
- BasiAda/Basi
- Trovare e installare AdaAda/Installare
- Sviluppo di un programma in AdaAda/Sviluppare un programma
Caratteristiche del linguaggio
These chapters look at the broader picture. They are more tutorial like and show how the keyword, operators and so forth work together.
- Strutture di controllo
- Types and Subtypes
- Strings
- Subprograms
- Packages
- Input Output
- Exceptions
- Generics
- Tasking
- Object Orientation
- Memory management
- New in Ada 2005
- Ada Programming Tips
Computer Programming
The following articles are Ada adaptations from articles of the Computer programming book. The texts of these articles are language neutral but the examples are all Ada.
Language Summary
Within the following chapters we look at foundations of Ada. These chapters may be used for reference of a particular keyword, delimiter, operator and so forth.
Librarie predefinite
The library which comes with Ada in general and GNAT in particular. Ada's built in library is quite extensive and well structured. These chapters too are more reference like.
Altre librerie
Other libraries which are not part of the standard but freely available.