* Sample code resources / Ada cookbook
@ 2013-03-07 5:11 Dufr
2013-03-07 6:20 ` Yannick Duchêne (Hibou57)
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Dufr @ 2013-03-07 5:11 UTC (permalink / raw)
Hi
I am looking for good resources containing Ada sample code useful for a learner.
Of course, there are many Ada tutorials and manuals around, but what I am looking for is specifically an Ada 'cookbook' containing simple Ada programs and code snippets, possibly with comments.
The closest thing to an Ada cookbook that I found is the excellent Rosetta Code website, which has hundreds of small Ada programs.
Is there any other such printed / online resource containing a similar collection of code samples?
Thanks
Duf
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-07 5:11 Sample code resources / Ada cookbook Dufr
@ 2013-03-07 6:20 ` Yannick Duchêne (Hibou57)
2013-03-07 23:41 ` karhof21
2013-03-07 6:28 ` Shark8
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2013-03-07 6:20 UTC (permalink / raw)
Le Thu, 07 Mar 2013 06:11:59 +0100, Dufr <dufriz@gmail.com> a écrit:
> Hi
>
> I am looking for good resources containing Ada sample code useful for a
> learner. […] looking for is specifically an Ada 'cookbook' containing
> simple Ada programs and code snippets, possibly with comments.
That may be what you want:
http://www.adaic.org/wp-content/uploads/2010/05/Ada-Distilled-24-January-2011-Ada-2005-Version.pdf
Cons: does not cover Ada 2012, but you will quicly learn what
pre/post/predicate are.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-07 5:11 Sample code resources / Ada cookbook Dufr
2013-03-07 6:20 ` Yannick Duchêne (Hibou57)
@ 2013-03-07 6:28 ` Shark8
2013-03-07 7:43 ` Jeffrey Carter
2013-03-14 15:47 ` tonyg
3 siblings, 0 replies; 8+ messages in thread
From: Shark8 @ 2013-03-07 6:28 UTC (permalink / raw)
On Wednesday, March 6, 2013 10:11:59 PM UTC-7, Dufr wrote:
> Hi
>
> I am looking for good resources containing Ada sample code useful for a learner.
>
> Of course, there are many Ada tutorials and manuals around, but what I am looking for is specifically an Ada 'cookbook' containing simple Ada programs and code snippets, possibly with comments.
>
> The closest thing to an Ada cookbook that I found is the excellent Rosetta Code website, which has hundreds of small Ada programs.
>
> Is there any other such printed / online resource containing a similar collection of code samples?
>
> Thanks
I think Rosetta is going to be about the best you're going to do for a 'cookbook' -- but there is something to watch out for there: the small nature of the entries means that [relatively] you won't get a lot of familiarity with managing large systems (packages).
There are some old [Ada95] software libraries/packages/examples on adapower.com. You should also look at some of the libraries in the recent library thread.
Lastly I wrote a sort of introduction/sniplit-example for Ada 2012 [and Streams] over here:
http://blog.projectpolymath.org/ada-2012-tutorial_01/
http://blog.projectpolymath.org/ada-2012-tutorial_02/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-07 5:11 Sample code resources / Ada cookbook Dufr
2013-03-07 6:20 ` Yannick Duchêne (Hibou57)
2013-03-07 6:28 ` Shark8
@ 2013-03-07 7:43 ` Jeffrey Carter
2013-03-14 15:47 ` tonyg
3 siblings, 0 replies; 8+ messages in thread
From: Jeffrey Carter @ 2013-03-07 7:43 UTC (permalink / raw)
On 03/06/2013 10:11 PM, Dufr wrote:
>
> I am looking for good resources containing Ada sample code useful for a learner.
> Of course, there are many Ada tutorials and manuals around, but what I am looking for is specifically an Ada 'cookbook' containing simple Ada programs and code snippets, possibly with comments.
> The closest thing to an Ada cookbook that I found is the excellent Rosetta Code website, which has hundreds of small Ada programs.
> Is there any other such printed / online resource containing a similar collection of code samples?
There are a number of libraries available as source that could be instructive
reading. I recommend the PragmAda Reusable Components available from
pragmada.x10hosting.com
Also available there is the source to the Mine Detector game, a complete,
non-trivial program.
--
Jeff Carter
"People called Romanes, they go the house?"
Monty Python's Life of Brian
79
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-07 6:20 ` Yannick Duchêne (Hibou57)
@ 2013-03-07 23:41 ` karhof21
2013-03-08 0:52 ` Nasser M. Abbasi
0 siblings, 1 reply; 8+ messages in thread
From: karhof21 @ 2013-03-07 23:41 UTC (permalink / raw)
> That may be what you want:
>
> http://www.adaic.org/wp-content/uploads/2010/05/Ada-Distilled-24-January-2011-Ada-2005-Version.pdf
>
>
> Cons: does not cover Ada 2012, but you will quicly learn what
> pre/post/predicate are.
Speaking of which, are there (free) Ada 2012 tutorials on the way?
Ada 2012 Distilled would be nice!!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-07 23:41 ` karhof21
@ 2013-03-08 0:52 ` Nasser M. Abbasi
2013-03-13 1:06 ` Robert Love
0 siblings, 1 reply; 8+ messages in thread
From: Nasser M. Abbasi @ 2013-03-08 0:52 UTC (permalink / raw)
On 3/7/2013 5:41 PM, karhof21@gmail.com wrote:
>> That may be what you want:
>>
>> http://www.adaic.org/wp-content/uploads/2010/05/Ada-Distilled-24-January-2011-Ada-2005-Version.pdf
>>
>>
>> Cons: does not cover Ada 2012, but you will quicly learn what
>> pre/post/predicate are.
>
>
> Speaking of which, are there (free) Ada 2012 tutorials on the way?
>
> Ada 2012 Distilled would be nice!!
>
Ada 2012 specifics:
====================
some are here
http://www.ada2012.org/
RM, Rational, and Annotated are here
http://www.ada-auth.org/standards/ada12.html
more general materials for Ada here
http://www.adaic.org/learn/materials/
--Nasser
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-08 0:52 ` Nasser M. Abbasi
@ 2013-03-13 1:06 ` Robert Love
0 siblings, 0 replies; 8+ messages in thread
From: Robert Love @ 2013-03-13 1:06 UTC (permalink / raw)
On 2013-03-08 00:52:13 +0000, Nasser M. Abbasi said:
>
> Ada 2012 specifics:
> ====================
>
> some are here
> http://www.ada2012.org/
I was not aware of this. I like the Ed video
>
> RM, Rational, and Annotated are here
> http://www.ada-auth.org/standards/ada12.html
>
> more general materials for Ada here
> http://www.adaic.org/learn/materials/
>
>
> --Nasser
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Sample code resources / Ada cookbook
2013-03-07 5:11 Sample code resources / Ada cookbook Dufr
` (2 preceding siblings ...)
2013-03-07 7:43 ` Jeffrey Carter
@ 2013-03-14 15:47 ` tonyg
3 siblings, 0 replies; 8+ messages in thread
From: tonyg @ 2013-03-14 15:47 UTC (permalink / raw)
On Thursday, 7 March 2013 05:11:59 UTC, Dufr wrote:
> Hi
>
>
>
> I am looking for good resources containing Ada sample code useful for a learner.
>
> Of course, there are many Ada tutorials and manuals around, but what I am looking for is specifically an Ada 'cookbook' containing simple Ada programs and code snippets, possibly with comments.
>
> The closest thing to an Ada cookbook that I found is the excellent Rosetta Code website, which has hundreds of small Ada programs.
>
> Is there any other such printed / online resource containing a similar collection of code samples?
>
>
>
> Thanks
>
>
>
> Duf
I would point you towards the Ada Denmark website (google it) . And recently magpi an online magazine for the raspberry pi.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-03-14 15:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-07 5:11 Sample code resources / Ada cookbook Dufr
2013-03-07 6:20 ` Yannick Duchêne (Hibou57)
2013-03-07 23:41 ` karhof21
2013-03-08 0:52 ` Nasser M. Abbasi
2013-03-13 1:06 ` Robert Love
2013-03-07 6:28 ` Shark8
2013-03-07 7:43 ` Jeffrey Carter
2013-03-14 15:47 ` tonyg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox