comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: GNAT GPL is proving...educational
Date: Mon, 22 Jul 2013 20:28:45 +0200
Date: 2013-07-22T20:28:45+02:00	[thread overview]
Message-ID: <op.w0myx7wgule2fv@cardamome> (raw)
In-Reply-To: c87917bb-ecd1-4c2d-a5e9-3290ab2ca958@googlegroups.com

Le Mon, 22 Jul 2013 03:28:32 +0200, Alan Jump <alan.jump@gmail.com> a  
écrit:

> The other unexpected (but, on reflection, totally logical) curveball is  
> that GNAT, and Ada in general, really doesn't like monolithic program  
> files...I would have simply blamed GNAT, but the same problem occurred  
> when trying to load the example source code through AdaGIDE, so it's  
> clearly a shift in thinking now required by Ada. Package specifications  
> get their own .ads file, everything else goes in .adb files.

That's a common complain from people coming from Pascal. But that's not  
Ada, that's GNAT. Nothing in the RM requires the specification and the  
body belongs to separate files (it does neither requires Ada sources to be  
stored in files, by the way, it just requires Ada source to be text made  
of characters).

About the other issue with files names, Niklas Holsti already gave you the  
answer. Of cause you can use child packages with GNAT :-p


-- 
“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

  parent reply	other threads:[~2013-07-22 18:28 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22  1:28 GNAT GPL is proving...educational Alan Jump
2013-07-22  3:26 ` Jeffrey Carter
2013-07-22  3:50   ` Alan Jump
2013-07-22  5:11     ` Jeffrey Carter
2013-07-22 22:19       ` Shark8
2013-07-22  5:28     ` Bill Findlay
2013-07-22  8:49       ` Georg Bauhaus
2013-07-22  9:04         ` Bill Findlay
2013-08-01 15:07     ` Stephen Leake
2013-08-01 19:28       ` Alan Jump
2013-07-25  5:41   ` Yannick Duchêne (Hibou57)
2013-07-25 20:25     ` J-P. Rosen
2013-07-25 23:07       ` Yannick Duchêne (Hibou57)
2013-07-22  7:18 ` Niklas Holsti
2013-07-22  8:52   ` Simon Wright
2013-07-31  2:02   ` David Thompson
2013-07-22 18:28 ` Yannick Duchêne (Hibou57) [this message]
2013-07-22 19:04   ` Alan Jump
2013-07-22 19:49     ` Ludovic Brenta
2013-07-22 19:51     ` Simon Wright
2013-07-22 20:12     ` Jeffrey Carter
2013-07-22 23:34     ` Adam Beneschan
2013-07-23  3:46       ` Shark8
2013-07-23 17:46         ` Yannick Duchêne (Hibou57)
2013-07-27  3:17       ` Randy Brukardt
2013-07-29 17:21         ` Alan Jump
2013-07-29 20:57           ` Shark8
2013-07-29 21:30             ` Adam Beneschan
2013-07-29 21:44               ` Alan Jump
2013-07-29 22:36                 ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox