Code Transpilation to multiple progamming languages (Help Wanted)

Author: krahetsCreated Nov 25, 2022Updated Nov 13, 2025
Labelscode

[!TIP] We seek help translating the code from Python/Java to other programming languages. Feel free to contribute in programming languages not listed here, such as PHP, R. Ruby, Kotlin, etc.

Contributing Guideline

  • Select a reference language: Python or Java are the preferred reference languages since their codebase has been thoroughly tested.
  • Maintain code consistency: Align your code structure, naming conventions, and comments with those in the reference language to minimize discrepancies.
  • Test the code: Ensure your code produces the same output as the reference code. Recommend utilizing tools like Diffchecker to compare the outputs.
  • Format the code: Before opening the pull request, check your code formatting against existing chapters for consistent indentation, comment style, and naming conventions. Standard code formatting tools are recommended.
  • Please ensure that a pull request(PR) covers at most one chapter for better maintainability. PR examples:
    • #632
    • #681
    • #696

Code Reviewers

If you have extensive programming experience and are interested in reviewing code, please reach out via WeChat at krahets-jyd . We thank all code reviewers on the landing page and of this project.

Language Reviewer
Java @krahets
C++
Python @krahets
Go #222 @Reanon
JavaScript #120 @justin-tse
TypeScript #121 @justin-tse
C# @hpstory
C #425 @Gonglja
Swift @nuomi1
Rust @night-cruise, @rongyi
Ruby @khoaxuantu
Dart @gvenusleo
Kotlin @curtishd
Zig @coderonion