[DGD]varargs void foo(object bar)

Gregory D Lewis glewis at maths.adelaide.edu.au
Tue Dec 1 22:44:32 CET 1998


Dworkin wrote:
> > It would be nice (imho) to see LPC getting byte compiled into byte code that 
> > could be run on a Java VM.  Maybe an extra niceness would be the ability to 
> > interact with Java objects in this situation a la JPython.
> 
> A one-to-one mapping of LPC to Java isn't possible, precisely
> because Java lacks multiple inheritance.  There are other problems,
> such as the ability to turn off typechecking in LPC with the
> mixed type.  Obviously it can be done, but not as nicely as one
> might hope.

Yep, I didn't say translation of LPC into Java though, I said compilation
of LPC into JVM compatible byte code.  This doesn't require there to be a
direct mapping of LPC to Java.  E.g., JPython is just Python that compiles
into JVM byte codes.  It supports all the same functionality of the "normal"
Python, including multiple inheritance.  The mixed type isn't a problem either.
Take a look at http://grunge.cs.tu-berlin.de/~tolk/vmlanguages.html for a list
of languages, many of which compile into JVM byte codes.  

-- 
Greg Lewis                              Applied Maths Department
Email : glewis at maths.adelaide.edu.au    University of Adelaide
--
So far as I can remember, there is not one word in the Gospels in
praise of intelligence.
		-- Bertrand Russell

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list