[3220] in java-interest
Re: JavaBASIC, JavaPascal
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Fri Nov 3 14:50:29 1995
Date: Fri, 3 Nov 1995 09:32:43 -0800
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: mlorton@eshop.com
Cc: java-interest@java.Eng.Sun.COM
Hi Michael,
> > > It occurred to me the other day. Why can't we develop compilers
> > > that use the Java object format, but use different source languages?
> >
> > This is a great idea! There is already a working ADA to Java VM compiler!
>
> I don't understand how that could work. Most languages can do things
> -- forge pointers, overwrite stack frames, leak memory -- that Java
> cannot. Certainly there is no way to compile those errors into Java
> VM. By extention, there are probably huge groups of idioms that are
> untranslatable.
True, but some languages don't rely much on these unsafe features
(ie: Basic, ADA, Scheme, ...), and can be translated more or less
directly into byte code instructions. Sometimes you may not be able
to truly port the entire language, but maybe a large subset is possible.
> Am I missing something?
I don't think so...
Have fun,
Arthur van Hoff
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com