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=-1.8 required=3.0 tests=BAYES_00,PLING_QUERY autolearn=no autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.terraraq.uk!aioe.org!JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org.POSTED!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: Adapting an Ada compiler to generate 8051 code (Again?! ;-) Date: Fri, 2 Apr 2021 01:41:13 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <41bc7a62-9c70-466d-b316-5fc74a3ee845n@googlegroups.com> <87im58a1up.fsf@nightsong.com> <87a6qk9uua.fsf@nightsong.com> NNTP-Posting-Host: JUN8/iIzeA71QWaIWFKODA.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 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 Content-Language: en-GB X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:61724 List-Id: On 02/04/2021 00:43, Randy Brukardt wrote: >> I know of the original Janus for Z80, never used it, is it a real Ada >> compiler or is it a Pascal like Ada? > > It was an Ada 83 subset. Don't remember the exact details, but it covered a > substantial part of the language, including packages and exceptions. The > validated Ada 83 compilers were direct descendants, and the current compiler > is directly descended from that. Ah. >> Have you considered compiling it as a cross compiler on Linux? > > Sadly, we've lost the back-end. When I was moving and going to junk the last > machine with a working 5 1/4" floppy, I decided to copy all of the old stuff > into the version control system. But I wasn't able to read the disks with > the source to the last pass. > > I didn't concern myself too much with losing that, as that backend predated > J-Code and thus any modern version would need to be rewritten anyway to mate > with a modern front-end. I did manage to recover the runtime, which would be > more work to reproduce anyway -- especially the floating point library. Have you considered sticking the front end onto github? Writing a back end shouldn't be too hard. Would be an interesting project for someone, and also to get it up to complete Ada 83.