Ada: differenze tra le versioni
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 1: | Riga 1: | ||
{{ |
{{da tradurre|url=http://en.wikibooks.org/wiki/Ada_Programming}} |
||
{{w}} |
{{w}} |
||
---- |
---- |
Versione delle 21:00, 23 ott 2006
Questa è una pagina la cui traduzione dalla lingua inglese va completata o migliorata. La versione originale si trova al link [[1]] |
Questo libro necessita di essere "wikificato", ovvero formattato secondo gli standard di Wikibooks.
Collabora anche tu a rendere questo libro conforme alle linee guida e poi rimuovi questo avviso. |
Benvenuti!! Questo wikibook, iniziato come traduzione dall'inglese, si propone come tutorial per la programmazione in Ada.
This is the first Ada tutorial comprehending the imminent Ada 2005 standard. If you are a beginner you will learn the future standard - if you are a seasoned Ada user you can see what's new.
Current Development Stage for Ada Programming is " (Jul 27, 2005)". At this date, there are more than 200 pages in this book, which makes Ada Programming the larger of the programming wikibooks (see wikistats or Category:Ada Programming).
But still there is always room for improvement — do help us to expand Ada Programming. Even beginners will find areas to participate.
== About Ada == Template:Wikipedia
Ada is a true multi-purpose programming language suitable for all development needs. Ada shares with C++ the fact that it is "method" neutral: it can be used in an OOP (Object-Oriented Programming) way, using other development models, or combinations.
The specification/body separation makes Ada a good choice when software development is being done by a large team. The strong typing helps to prevent many programming errors that are common in weakly typed languages.
Ada learning curve is not as slow as the learning curve of C/C++ and more importantly free of traps (caused by hidden or implicit features which are difficult to learn). This makes Ada a good teaching language.
It has particular strengths for safety-critical and high-reliability applications. But these strengths are useful for any development where there is a wish for "bug free" software.
Ada is fine for RAD (Rapid Application Development), and is amenable to test driven design —a la XP (Extreme Programming).
=== The Language Reference Manual === Template:Wikipedia
The Ada Reference Manual (RM) —full name Ada Reference Manual, ISO/IEC 8652:1995(E)— is the official language definition. If you have any question and nobody can answer you, you will find something in the RM (albeit often a bit cryptic for non-language-lawyers). For this reason, all complete (not draft) pages in Ada Programming contain links into the appropriate pages in the RM.
- You can browse the complete RM for Ada 95 in one of the following sites:
- There are two documents related with the RM:
- 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.
- The draft for the upcoming Ada 2005 can be found here. Beware: it's not finished yet.
=== Ada Conformity Assessment Test Suite === Template:Wikipedia
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....
Programming in Ada
Getting Started
Where to get a compiler, how to compile the source, all answered here:
- Basic Ada, Read-Me-First!
- Finding and Installing Ada
- Building an Ada program
Language Features
These chapters look at the broader picture. They are more tutorial like and show how the keyword, operators and so forth work together.
- Control Structures
- 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.
Predefined Language Libraries
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.
Other Language Libraries
Other libraries which are not part of the standard but freely available.
See also
- AdaWikiRing — A list of Ada Wikis
- AdaPower — Ada Tools and Resources
- Ada World — A brand new Ada related website
- Ada Answers — Building better software with Ada
- Computer-Books.us — Online Ada books
Authors and contributors
This Wikibook has been written by:
- Martin Krischik (Contributions)
- Manuel Gómez (Contributions)
- Santiago Urueña (Contributions)
- C.K.W. Grein (Contributions)
- Bill Findlay (Contributions)
- B. Seidel (Contributions)
- Simon Wright (Contributions)
- Allen Lew (Contributions)
- John Oleszkiewicz (Contributions)
- Nicolas Kaiser (Contributions)
- Larry Luther (Contributions)
- Ed Falis
- Pascal Obry
- Unnamed Hero (Contributions)
If you wish to contribute as well you should read Contributing and join us at the Contributors lounge.