Java compilers or JVM languages that support goto?
Posted
by unknown
on Stack Overflow
See other posts from Stack Overflow
or by unknown
Published on 2009-06-14T14:40:21Z
Indexed on
2010/04/03
2:43 UTC
Read the original article
Hit count: 285
Is there a java compiler flag that allows me to use goto
as a valid construct? If not, are there any third-party java compilers that supports goto
? If not, are there any other languages that support goto
while at the same time can easily call methods written in Java?
The reason is I'm making a language that is implemented in Java. Gotos are an important part of my language; I want to be able to compile it to native or JVM bytecode, although it has to be able to easily use Java libraries (ie. C supports goto
, but to use it I'd have to rewrite the libraries in C).
I want to generate C or Java, etc source files, and not bytecode or machine code. I'm using a third-party compiler to do that.
© Stack Overflow or respective owner