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

lwall@sems.com (Larry Wall)
25 Jan 1996 22:21:12 -0500

          From comp.compilers

Related articles
[5 earlier articles]
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)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) hbaker@netcom.com (1996-01-27)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) balld@sunSITE.unc.edu (1996-01-27)
Re: Possible to write compiler to Java VM? (I volunteer to summarize) david.hopwood@lady-margaret-hall.oxford.ac.uk (1996-01-29)
| List of all articles for this month |

From: lwall@sems.com (Larry Wall)
Newsgroups: comp.lang.java,comp.compilers
Date: 25 Jan 1996 22:21:12 -0500
Organization: Seagate Enterprise Management Software, Cupertino, California.
References: 96-01-037 96-01-063
Keywords: translator, interpreter

Thomas Boutell <boutell.com@holly.aa.net> wrote:
: Perl: I don't see any technical barriers to this. Perl does have
: closures but I get the impression they are closer to Java's exceptions
: in implementation complexity.


Perl's built-in data types tend to be more extensible and allomorphic
than Java's, so most of them would have to be represented as classes.
You also have the problem of recoding the formatting and regular
expression engines in Java.


Also, you should probably count Perl in with the multiple inheritance
languages. But you might have to emulate the class structure anyway,
since Perl just uses package namespaces (symbol tables) for classes,
and Java isn't likely to provide this degree of freedom. Especially
considering that inheritance is defined dynamically, and objects can
change their class on the fly.


Larry Wall
lwall@sems.com
--


Post a followup to this message

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