Skip to content

This project demonstrates the differences in compilation output between J2CL and Kotlin/JS compilers through various Kotlin code examples.

Notifications You must be signed in to change notification settings

JSMonk/j2cl-and-kotlin-js-outputs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J2CL and Kotlin/JS Compilation Showcase

This project demonstrates the differences in compilation output between J2CL and Kotlin/JS compilers through various Kotlin code examples.

Project Structure

Each module in this project contains:

  • Source Kotlin files
  • output_closure directory: Contains J2CL compilation output
  • output_kjs directory: Contains Kotlin/JS compilation output (where applicable)

Note: Some modules may not include output_kjs output due to J2CL-specific Kotlin expressions that cannot be directly expressed in Kotlin/JS style.

Project Origins

This is a fork of the Kotlin fixtures from the J2CL project, originally located at: https://github.com/google/j2cl/tree/master/transpiler/javatests/com/google/j2cl/readable/kotlin

Related Projects:

Continuous Updates

This is a living repository that is synchronized with:

  • Original J2CL fixtures
  • Changes in the Kotlin/JS compilation model

The primary goal is to showcase and track the differences in compiled output between these two compilers.

About

This project demonstrates the differences in compilation output between J2CL and Kotlin/JS compilers through various Kotlin code examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published