From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNAT GPL is proving...educational Date: Mon, 22 Jul 2013 21:49:19 +0200 Organization: A noiseless patient Spider Message-ID: <87fvv6xtmo.fsf@ludovic-brenta.org> References: <7cbb4b66-9b59-4d82-a626-2fdc845ccbde@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="f31950daf00220844230ad339fabe6e7"; logging-data="8117"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/c+9Zfht1rBuevi3rlaNWk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:DG+NUMCoz3bXXuRu1nbxHA64xOg= sha1:jy0otGg4RMapuw8xt6+p4HBI99A= Xref: news.eternal-september.org comp.lang.ada:16480 Date: 2013-07-22T21:49:19+02:00 List-Id: Alan Jump writes on comp.lang.ada: > On Monday, July 22, 2013 11:28:45 AM UTC-7, Hibou57 (Yannick DuchĂȘne) wrote: >> 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 > > Got it. When I get home from my "real" job and have the opportunity, > I'll make the indicated changes and rebuild. It's all educational at > this point, so every error message is a teachable moment, yes? > > I still find myself wishing for a better "introductory" text than > Barnes; I'm a neophyte coder, not a language lawyer. This may be what you need: http://archive.adaic.com/docs/craft/craft.html And more generally: http://www.adaic.org/learn/materials/ The above two are about the *language* but you also need an introduction to the particular *compiler*, this is part of the compiler distribution you received. If you use GPS, go to the Help menu and browse the GNAT User's Guide. HTH -- Ludovic Brenta.