From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ac8:44c3:: with SMTP id b3mr812259qto.221.1602805300687; Thu, 15 Oct 2020 16:41:40 -0700 (PDT) X-Received: by 2002:a05:620a:53c:: with SMTP id h28mr1343837qkh.101.1602805300496; Thu, 15 Oct 2020 16:41:40 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 15 Oct 2020 16:41:40 -0700 (PDT) In-Reply-To: <125dbcf9-52e3-4110-9f71-b5c0cf46eaecn@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=184.98.42.15; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG NNTP-Posting-Host: 184.98.42.15 References: <125dbcf9-52e3-4110-9f71-b5c0cf46eaecn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <51300478-3592-402a-8c69-67cef474ae97n@googlegroups.com> Subject: Re: Developing on a Mac From: Jerry Injection-Date: Thu, 15 Oct 2020 23:41:40 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:60438 List-Id: On Wednesday, October 14, 2020 at 9:40:00 AM UTC-7, wrote: > I searched but could not find.=20 > How to develop Ada programs on a Mac today (Catalina)?=20 > GNAT CE 2020 for Mac has no GPS anymore.=20 > Must one use Xcode?=20 > How make Xcode Ada-aware and integrate it with GNAT?=20 > Some other Ada-aware IDE for Mac?=20 > Thanks a lot. Some of the following is kind of vague but I hope it is useful. Many lister= s will know much more. One time a long time ago someone (on this list?) made Xcode work with Ada. = It was fantastic. Even a debugger IIRC. But apparently Apple likes to chang= e the underpinnings and after some time Xcode ceased to work with Ada. (The= re also is or was a FPC Pascal way with Xcode that was even more capable bu= t I haven't checked into that for a long time.) There also used to be Carbon bindings to Ada, possibly made by the same per= son. (The words "Blady" and "Pascal" come to mind for this person.) They we= re on the macada.org web site which doesn't seem to do much these days, as = well as being linked from AdaPower. Of course the Carbon API has been long-= deprecated but I'm sure it is still used. (How does Microsoft keep Word et = al working on Macs?) It's not a full IDE in some opinions but Visual Studio Code runs on Macs, e= ven my now-ancient 2008 PowerBook and macOS 10.11.6. There is an Ada plug-i= n but make sure you get the right one. I think this plug-in might be suppor= ted by AdaCore. And there's something about an Ada Language Server. I don't= really understand all of this. I've tried to get this running but the inst= ructions are minimal so it is taking more effort than it should. (Why are i= nstallation instructions so frequently written assuming that you already kn= ow how to install stuff?) IntelliJ IDEA CE also has an Ada plug-in. I guess Eclipse has an Ada plug-in as well. I think AdaCore supports this b= ut I'm not sure if the Mac version is well-supported. None of the above except Xcode is a native Mac app so you'll have to deal w= ith a certain amount of cross-platform-turdism. I would happily pay hundred= s of $US for a native Mac Ada IDE but that will never happen. The previousl= y-mentioned Xcode hack was close enough, though. There are lots of text editors that aren't too bad. I have used Textmate wi= th its Ada plug-in (bundle) which I've modified for my own purposes for man= y years. Not an IDE but it does have the capability to link from parsed err= or reports back to your code. Textmate was a leader in this area and its bu= ndle architecture has been used by several other editors. Sorry if this is all a little sketchy. Now for something OT. If you are doing technical work in Ada and want to st= ore or examine or plot results, I have made Igor Pro (wavemetrics.com) work= with Ada. This is a fantastic arrangement. It's almost as nimble as workin= g in a notebook (think Jupyter or Jupyter Lab) but you get the awesomeness = of Igor Pro to plot, post-process, and document.=20 Jerry