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.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,af2e7a78c5c6e7c4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-08 12:18:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!deine.net!freenix!enst!enst.fr!not-for-mail From: Ingo Marks Newsgroups: comp.lang.ada Subject: Re: Ada -> Java by Java disassemlers? Date: Fri, 8 Mar 2002 21:18:11 +0100 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1015618682 70455 137.194.161.2 (8 Mar 2002 20:18:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 8 Mar 2002 20:18:02 +0000 (UTC) Return-Path: X-Mailer: KMail [version 1.3.1] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:20954 Date: 2002-03-08T21:18:11+01:00 Dr. Michael Paus wrote: > Just for curiosity. For what kind of project do you need an Ada to Java > compiler? I would like to code with Ada in the next generation platforms (Java/J2EE and/or .NET). I don't like the supported languages (Java, C#) pretty much. Unfortunately, JGNAT ist no longer supported. So we don't have any up-to-date Ada -> Java-Bytecode-Compilers in the future. But if we had an Ada -> Java source compiler, which takes in Ada program and compiles it into an equivalent Java program (source code as "very high level assembler code" ;-) then we would be independent of JDK versions. We just would compile the created intermediate Java source code with the most up-to-date Java compiler and we had it. The same way it would be possible to get Ada run on .NET. Java and C# have many features common to Ada, so it should not be too difficult to write an Ada -> Java or Ada -> C# compiler. Really, it would be much easier to write such a new source to source compiler than to deep into the Java or MSIL bytcode sea. I think at least a subset of Ada 95 (exceptions etc.) could be ported. If the whole Ada 95 standard (tasks etc.) could be ported to Java or C#, is another question. Anyway, for my most applications, I use only a subset of Ada. I don't think anyone would demand real time applications for .NET. Somewhere I read about an "Ada 2005" standard. Are there any plans to extend Ada? Ingo