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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Running a preprocessor from GPS? Date: Wed, 29 Jul 2015 11:52:54 +0200 Organization: A noiseless patient Spider Message-ID: References: <2df4698f-4c8e-457c-822d-209cb2f8ab5e@googlegroups.com> <014427b1-ff7a-4a69-82e6-0330af77ed96@googlegroups.com> <9bb1c12c-1a5e-4aee-b275-d8528fa48a97@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 29 Jul 2015 09:51:21 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="8794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6b/mD0sb3cDJKYDBZqqXQtEG7f6UtnwA=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <9bb1c12c-1a5e-4aee-b275-d8528fa48a97@googlegroups.com> Cancel-Lock: sha1:7M9aVu9JJIS1Dpxv68HeHlfmSIg= Xref: news.eternal-september.org comp.lang.ada:27120 Date: 2015-07-29T11:52:54+02:00 List-Id: On 29.07.15 00:41, EGarrulo wrote: > On Wednesday, July 29, 2015 at 12:11:29 AM UTC+2, EGarrulo wrote: >> On Tuesday, July 28, 2015 at 11:12:54 PM UTC+2, Randy Brukardt wrote: >>> "EGarrulo" wrote in message >>>> boilerplate code, and this is one such case. Let's add the lack of a >>>> facility like "printf", >>> >>> Not strongly typed. >> >> What do you mean? Common Lisp has FORMAT and it is as strongly typed as they can be. > > I forgot to say that I have discovered that "printf" can be implemented in Ada by using an operator to feed arguments to an object. That seems a good solution. If you can wait another week or so, I'm trying to finish something that is minimal in a sense. Right now, there are packages for logging that are like Java's (Stephane Carrez, AWA), or Log4Ada, ... These are made for log files, specifically, less so for quick debugging. But then, it's Ada, so pragma Debug is for quick jobs.