jsweet
jsweet copied to clipboard
A Java to JavaScript transpiler.
Is there way to compare the ES6 based transpiler option?
Throwing on this: ```java public Pair span() { return new Pair(new Integer(position), new Integer(position + 1)); } ``` where `position` is a private member. Pair is this: ```java public class...
Hi, When trying to implement a class belonging to j4ts, the default methods are not taken into account. For example, the following code will fail to compile until I uncomment...
Hi, the ts generated by the following code fails to compile: ``` public enum Bar { LOW { @Override public long value() { return ratio * 1L; } }, MEDIUM...
I am trying to convert a java project to typescript (nodejs) as a starting point to port it. Though I got the following error: ``` [ERROR] transpilation failed java.lang.ClassCastException: class...
java.lang.TypeNotPresentException: Type org.jsweet.JSweetMojo not present
JSweet 3 now supports Java 11 syntax, but we always want the latest syntax supported
I think there might be a bug in the generated source map for a specific case where a method is called from inside an anonymous class. Tested with versions 3.0.0...
``` package org.jsweet; import static def.dom.Globals.*; /** * This is a very simple example that just shows an alert. */ public class HelloWorld { public static class Human { String...
While transpiling, the class java.util.Base64 will not be found (Sorry for my awfull english)