Java alternative language

Are there compilers that use syntax other than java language syntax to generate JVM bytecode?

+4
source share
5 answers

A lot of! scala, jruby, jython, Groovy, Clojure, etc.

See http://en.wikipedia.org/wiki/List_of_JVM_languages

+8
source

I do not know what you want to do, but there are many. You can even port Java code to other platforms such as android.

Depending on what you want to do with the byte code, you can look at Jasmin , which is the assembly language of the byte code, and ASM, which is the byte reader / mini-module / writer.

You can even compile LOLCode based on LOLCats: D

HAI CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE 
+2
source

A lot of. Have a look at this list of JVM languages for some examples.

+1
source

A lot of them...

Take a look at the following link:

+1
source

Have you watched Scala ?

In addition, there are JRuby, Groovy and many more arriving all the time. Scala seems to be the one that is getting the most pressure at the moment, though.

0
source

Source: https://habr.com/ru/post/1344441/


All Articles