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!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.etla.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: My first test of github: cpros - lightweight Ada command processor Date: Tue, 26 Sep 2017 15:13:26 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <3ca74d75-f942-4e06-a389-cddb77ec244f@googlegroups.com> <2205cb03-8588-41ba-95f2-b243bb53fccf@googlegroups.com> <532c82e0-29ec-4cda-82a5-694303c6534f@googlegroups.com> <761e5834-553f-4f52-8772-e461098fdad7@googlegroups.com> NNTP-Posting-Host: vZYCW951TbFitc4GdEwQJg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 X-Notice: Filtered by postfilter v. 0.8.2 Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:48231 Date: 2017-09-26T15:13:26+02:00 List-Id: On 26/09/2017 14:56, reinert wrote: > Could it be argued that such a "command processor" could be included > in a standard Ada package? No. The syntax of and the environment where execution should take effect can be any. Why should Ada prefer one or another? > Yes, some smartass' may argue that this is easy to program and do > oneself, but such functionality may help development and testing of > programms? No. Firstly there is no reason to use command line interface for developing and testing programs. Secondly tool-chains to support software developing processes are out of the language's direct scope. P.S. There are plenty parsing libraries in Ada. E.g. http://www.dmitry-kazakov.de/ada/components.htm#Parsers_etc It comes with Ada 95 expression parser and calculator examples. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de