0

is there any transpiler for converting JavaScript code into java code?

Transpiler

29th Jan 2020, 5:43 AM
Yogeshwaran
5 Answers
0
Try JSweet. Google it.
29th Jan 2020, 6:46 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
0
How can I add jsweet in sololearn.is there any script SRC for that?
29th Jan 2020, 6:48 AM
Yogeshwaran
0
Jsweet translates in the opposite direction (java -> JS)
29th Jan 2020, 10:52 AM
zemiak
0
Is there any transpiler to convert js---->java
29th Jan 2020, 10:56 AM
Yogeshwaran
0
There are several attempts to convert data objects or parts of code, but nothing hassle-free and comprehensive other way is run js on JVM https://ringojs.org/ https://www.graalvm.org/ older https://openjdk.java.net/projects/nashorn/ https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino
29th Jan 2020, 11:15 PM
zemiak