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 2002:a05:620a:118b:: with SMTP id b11mr10971573qkk.82.1587757533305; Fri, 24 Apr 2020 12:45:33 -0700 (PDT) X-Received: by 2002:aca:c441:: with SMTP id u62mr8745826oif.110.1587757533139; Fri, 24 Apr 2020 12:45:33 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!2.eu.feeder.erje.net!feeder.erje.net!feeder5.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 24 Apr 2020 12:45:33 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1206:4544:3750:707a:ab72:f25c:7a0f; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:1206:4544:3750:707a:ab72:f25c:7a0f User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9a4ad55c-ef0d-42ab-a438-cabc71a491a6@googlegroups.com> Subject: Script-like jobs in Ada (ideas for HAC) From: gautier_niouzes@hotmail.com Injection-Date: Fri, 24 Apr 2020 19:45:33 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58485 Date: 2020-04-24T12:45:33-07:00 List-Id: It's a poll - sort of. The question is: what kind of jobs do you prefer let a scripting language d= o and not Ada? My guess is that this kind of choice is related to toolsets, libraries and = other aspects that are not necessarily related to languages. For instance you would perhaps avoid using Ada for a 30-lines program that = browses files and collects some information in those files (just an example= ). Or a little math / stats program? Or a small game? But maybe the real reason (even if it is unconscious) you'd avoid Ada is be= cause the compiler you are using is slow, or because it spits objects and e= xecutable files each time you change your small program. And you'd be more = comfortable with a script that runs immediately without making garbage file= s. A goal of the HAC compiler [1] is precisely to blur the border between a sc= ript and an Ada program: from the command line, you write "hax myprog.adb" = and it just runs (that's already working). Now I'd be curious of examples o= f scripts you'd consider writing in Ada with HAC, if it supplied the conven= ient functions and libraries. It's all work-in-progress currently, and idea= s of applications are welcome at this point of the development. Thanks for any input! -- [1] http://hacadacompiler.sf.net/ and https://github.com/zertovitch/hac