Re: Possible to write compiler to Java VM?

William Clodius <clodius@sst.lanl.gov>
27 Jan 1996 01:07:22 -0500

          From comp.compilers

Related articles
Re: Possible to write compiler to Java VM? (I volunteer to summarize) boutell.com@holly.aa.net (1996-01-23)
Re: Possible to write compiler to Java VM? Dirk.Craeynest@cs.kuleuven.ac.be (1996-01-25)
Re: Possible to write compiler to Java VM? chase@centerline.com (1996-01-25)
Re: Possible to write compiler to Java VM? bwilson@shasta.stanford.edu (Bob Wilson) (1996-01-25)
Re: Possible to write compiler to Java VM? clodius@sst.lanl.gov (William Clodius) (1996-01-27)
Re: Possible to write compiler to Java VM? tdunbar@gserver.grads.vt.edu (Thomas Dunbar) (1996-01-27)
Re: Possible to write compiler to Java VM? tore@lis.pitt.edu (1996-01-27)
Re: Possible to write compiler to Java VM? sam@inf.enst.fr (Samuel Tardieu) (1996-01-28)
Re: Possible to write compiler to Java VM? hbaker@netcom.com (1996-01-29)
Re: Possible to write compiler to Java VM? david.hopwood@lady-margaret-hall.oxford.ac.uk (1996-01-29)
Re: Possible to write compiler to Java VM? darius@phidani.be (Darius Blasband) (1996-01-29)
[22 later articles]
| List of all articles for this month |

From: William Clodius <clodius@sst.lanl.gov>
Newsgroups: comp.compilers
Date: 27 Jan 1996 01:07:22 -0500
Organization: Compilers Central
References: 96-01-063 96-01-075
Keywords: translator, Fortran, Ada

chase@centerline.com (David Chase) writes
> > Pascal:
> > Fortran:


> You've got to watch out for by-reference parameters in these two
> languages. That's not a killer for safety (Modula-3 is a safe
> language, with by-reference parameter-passing mode, for example) but
> the Java VM doesn't support it directly. You could fake it, of
> course, but the additional level of indirection and allocation would
> be burdensome.


Note: Fortran 77's parameters have the same semantics as Ada's IN_OUT
parameters, F90's additional parameter passing mechanisms also map
well to Ada's, so argument passing is no more of a problem for Fortran
than for Ada, for which a system is being developed. I don't know if
Equivalence, some common (but non standard) tricks with common blocks,
etc., are difficult to translate.


--
William B. Clodius Phone: (505)-665-9370
Los Alamos National Laboratory Email: wclodius@lanl.gov
Los Alamos, NM 87545
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.