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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.63.130 with SMTP id m124mr1057869ioa.43.1506532506763; Wed, 27 Sep 2017 10:15:06 -0700 (PDT) X-Received: by 10.157.45.2 with SMTP id v2mr22317ota.22.1506532506734; Wed, 27 Sep 2017 10:15:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!o200no42227itg.0!news-out.google.com!194ni127itf.0!nntp.google.com!o200no41237itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 27 Sep 2017 10:15:06 -0700 (PDT) In-Reply-To: <87h8vo86cr.fsf@jacob-sparre.dk> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.166.230.191; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 85.166.230.191 References: <87h8vo86cr.fsf@jacob-sparre.dk> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2ea34be9-1947-4af1-ad6a-26e327628e5d@googlegroups.com> Subject: Re: My first test of github: cpros - lightweight Ada command processor From: reinert Injection-Date: Wed, 27 Sep 2017 17:15:06 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2564 X-Received-Body-CRC: 49964847 Xref: news.eternal-september.org comp.lang.ada:48240 Date: 2017-09-27T10:15:06-07:00 List-Id: Thanks. I buy this and correct soon. By the way: I think it is cool that the "command processor", cpros, though a bit primitive, consists of only (about) 150 program lines of code depending on how one count program lines. reinert On Wednesday, September 27, 2017 at 6:16:21 PM UTC+2, Jacob Sparre Andersen wrote: > reinert writes: > > > I am preparing to use github for an Ada project. To make the learning > > curve steeper, I now put a small test project on github: > > > > https://github.com/reinertk/cpros > > > > Yes, things are missing here, but could anybody make some valuable > > comments to help make the learning faster? Any problem to get access > > to it? > > It is always good to see more Ada sources on GitHub. > > Even though I prefer Mercurial, I must admit that Git isn't very hard to > learn to use. > > Some friendly suggestions: > > + It isn't necessary to create the object directory first, if you pass > "gprbuild" a "-p" argument. > > + If I press Ctrl-D, you report an "End_Error" exception. It might look > nicer, if you just caught it and exited the shell. Conventional Unix > shell style is to terminate successfully (exit code 0) on > end-of-input. > > Greetings, > > Jacob > -- > Black Hole: Where the universe made a Divide by Zero.