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

Indentation in comments is lost in transpilation. JavaDocs often contain indented HTML or they can have code samples where the indentation is preferable to preserve. ## To reproduce: Transpile the...

enhancement
welcoming contributions

I would like to do the following as stated in the FAQ(http://www.jsweet.org/faq/). ------------------ Case one — compile the library with JSweet: if the library is open source or if you...

Given ```java package org.jsweet; import static def.dom.Globals.*; public class HelloWorld { public static void main(String[] args) { /* Hello */ alert("Hi there!"); } } ``` The "Hello" comment is dropped...

welcoming contributions
feature request

The TypeScript handbook gives [this example](https://www.typescriptlang.org/docs/handbook/unions-and-intersections.html), which also works with interfaces as such: ```typescript interface NetworkLoadingState { state: "loading"; } interface NetworkFailedState { state: "failed"; code: number; } ``` To...

welcoming contributions
feature request

We are getting the following errors. With transpiler: 2.3.7, jsweet.core.version: 602. We are using the URL definition in the JSweet j4ts GIT Repo. It has openStream function defined on the...

We are getting the following error. We downloaded the j4ts-awt-swing maven dependencies, compiled them with jsweet.transpiler.version: 2.3.6-SNAPSHOT and jsweet.core.version: 6.0.3. We include this version in our local maven repo. We...

Hi! Creating this issue as a result of the [discussion here](https://github.com/cincheo/jsweet/pull/546#issuecomment-538680937) - about having knowledge of an expression's implementation type at least during methodInvocation substitution. I bring it up since...

enhancement

The following code doesn't compile: ```java package quickstart; public class QuickStart { public static void main(String[] args) { class Foo { } Foo f = new Foo(); } } ```...

bug

Hi! I have a usecase that involves accounting for untyped access in a source file. I figured extending the transpiler by overriding `PrinterAdapter` might work but it seems JSweetTranspiler has...

bug

Hello! I'm trying to transpile [lambda](https://github.com/palatable/lambda) using jsweet, but the build processing is exploding with over a hundred type errors. I'm doing some fairly advanced type acrobatics for javac in...