Re: Possible to write compiler to Java VM? (I volunteer to summarize)

Andreas Krall <andi@complang.tuwien.ac.at>
23 Jan 1996 17:31:53 -0500

          From comp.compilers

Related articles
Possible to write compiler to Java VM? (I volunteer to summarize) seibel@sirius.com (Peter Seibel) (1996-01-17)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) bnm@indica.bbt.com (1996-01-18)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) NoeC@po1.cpi.bls.gov (1996-01-19)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) basile.starynkevitch@cea.fr (1996-01-20)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) gough@dstc.qut.edu.au (John Gough) (1996-01-21)
Possible to write compiler to Java VM? (I volunteer to summarize) fjh@cs.mu.OZ.AU (1996-01-23)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) andi@complang.tuwien.ac.at (Andreas Krall) (1996-01-23)
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? (I volunteer to summarize) darius@phidani.be (Darius Blasband) (1996-01-23)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) jbuck@Synopsys.COM (1996-01-25)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) anicolao@cgl.UWaterloo.CA (1996-01-25)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) lwall@sems.com (1996-01-25)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) will@ccs.neu.edu (1996-01-27)
[5 later articles]
| List of all articles for this month |
From: Andreas Krall <andi@complang.tuwien.ac.at>
Newsgroups: comp.compilers
Date: 23 Jan 1996 17:31:53 -0500
Organization: Compilers Central
References: 96-01-037,
Keywords: interpreter, translator

"Peter Seibel" <seibel@sirius.com> writes:
>So I'm asking you all: how easy/hard/impossible would it be to write a
>compiler for your favorite language(s) that compiles to Java VM
>byte-codes. ...


The easiest way to compile a programming language to the Java VM is to
cross-compile to Java and use the Java compiler to generate Java VM code.
So you don't need to know the details of the Java VM and you can use all
the features of Java like garbage collection and libraries. But you need
to know Java implementation in some detail to make design decisions like
using implicitely Javas internal stack or using a stack explicitely and
things like that.


Andi


--
andi@complang.tuwien.ac.at Andreas Krall
http://www.complang.tuwien.ac.at/andi/ Inst. f. Computersprachen, TU Wien
tel: (+431) 58801/4462 Argentinierstr. 8/4/1851
fax: (+431) 5057838 A-1040 Wien AUSTRIA EUROPE
--


Post a followup to this message

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