jsweet icon indicating copy to clipboard operation
jsweet copied to clipboard

A Java to JavaScript transpiler.

Results 130 jsweet issues
Sort by recently updated
recently updated
newest added

Trying babylon.d.ts with the candy-generator gives this exception: Exception in thread "main" java.lang.RuntimeException: FATAL ERROR: duplicate entry: Observer

This code: ~~~java interface A { public default void test(String s) {} public default void test(int i) {} } class B implements A { } ~~~ Generates something like: ~~~ts...

bug

I'm trying to add support for java BigNumber types to my jsweet project. I followed the instructions here: [extension examples](https://github.com/cincheo/jsweet/blob/master/doc/jsweet-language-specifications.md#programmatic-tuning-with-adapters). I added a dependency to the bigjs candy in my...

I finally tested JSweet again. It really improved a lot :) I tested with this code: StringBuilder sb = new StringBuilder(); sb.append("1"); sb.append("2"); sb.append("3"); sb.append("4"); sb.append("5"); alert(sb.toString()); In Javascript it...

I used the annotaion Erased and it works quite well. What you think about about making a new annotation which sets the Entry point for the transpiler and it will...

Hello, It is a follow-up of [this issue](https://github.com/j4ts/j4ts/issues/42). I try to transpile JHeaps (the only dependency of JGraphT): ts2js on org.jsweet.transpiler.TypeScript2JavaScriptWithTscTranspiler@407cd3 sourceFiles=56 launching tsc... org/jheaps/array/BinaryArrayAddressableHeap.ts(82,77): error TS1005: ',' expected. ','...

It seems like it is not possible to import certain elements when using external modules. I need to reference some Angular 6 classes from my codebase that is supposed to...

Would it be possible to change the return type of the method def.js.Object.$set so it returns the Object itself? Does it currently return the old value? Code like this would...

Suppose that you've a simple annotation that is applicable to the uses of types: ```java @Target (value = {ElementType.TYPE_USE}) public @interface MyAnnotation { } ``` And then you use this...

Hi, My previous experiment and problem report with lambda and method reference comes from an experiment aiming at a possible transpilation of the excellent JGraphT lib. The first problem can...