Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Transpilation to multiple progamming languages (Help Wanted) #15

Open
krahets opened this issue Nov 25, 2022 · 61 comments
Open

Code Transpilation to multiple progamming languages (Help Wanted) #15

krahets opened this issue Nov 25, 2022 · 61 comments
Labels
code Code-related

Comments

@krahets
Copy link
Owner

krahets commented Nov 25, 2022

Tip

We seek help translating the code from one programming language to another.
Feel free to contribute in programming languages not listed here, such as PHP, R. Ruby, Kotlin, etc.

Contributing Guideline

Code Reviewers

If you have extensive programming experience and are interested in reviewing code, please reach out via WeChat at krahets-jyd . We dedicate our thanks to 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
Ruby @khoaxuantu
Dart @gvenusleo
Kotlin @curtishd
Zig @codingonion
@krahets krahets added the translation English translation label Nov 25, 2022
@kalaersun
Copy link

I can help translate part of C

@krahets
Copy link
Owner Author

krahets commented Nov 29, 2022

I can help translate part of C

Thanks, @kalaersun ! Looking forward to your code.

@lkgGitHub
Copy link

I can help translate part of go about "Array and Linked List" and "Sorting"

@krahets
Copy link
Owner Author

krahets commented Nov 29, 2022

I can help translate part of go about "Array and Linked List" and "Sorting"

Thanks, @lkgGitHub !

Please get in touch with @Reanon as maybe he is working on the remaining Go codes.

(You can check codes at https://github.com/krahets/hello-algo/tree/master/codes/go compared with .../master/codes/java)

@Reanon
Copy link
Contributor

Reanon commented Dec 3, 2022

I can help translate part of go about "Array and Linked List" and "Sorting"

@lkgGitHub, You can do it! Chapter Array/LinkedList or Sorting are available. If you pull request, i will review you golang code. Beside, before you pull request, you should check if other pull request to Golang code. Thank you for participating in Golang Translation😁.

@krahets krahets pinned this issue Dec 3, 2022
@krahets krahets added the code Code-related label Dec 3, 2022
@justin-tse
Copy link
Contributor

I can help translate part of TypeScript

@justin-tse
Copy link
Contributor

I will try to translate the part of Array and Linked List.

@justin-tse
Copy link
Contributor

I think I can translate the remaining part of Chapter Array and LinkedList to JavaScript.

@msk397
Copy link
Contributor

msk397 commented Dec 12, 2022

I can help translate the part of Insertion Sort and Quick Sort to Go

@justin-tse
Copy link
Contributor

I can translate the part of Sorting to TypeScript.

@mingXta
Copy link
Contributor

mingXta commented Dec 13, 2022

I can help translate part of C# start with Array.

@Cathay-Chen
Copy link
Contributor

I can help translate part of Go

@justin-tse
Copy link
Contributor

I can translate the Chapter of Tree to TypeScript.

@msk397
Copy link
Contributor

msk397 commented Dec 13, 2022

Can I help translate the Chapter of Hashing using C++, Python and Go ? I find that nobody seems to have done this part

@krahets
Copy link
Owner Author

krahets commented Dec 13, 2022

Can I help translate the Chapter of Hashing using C++, Python and Go ? I find that nobody seems to have done this part

Feel free to create a pull request. I will add your ID to the form.

@he-weilai
Copy link
Contributor

请问C语言部分我可以一起进行创作吗?

@krahets
Copy link
Owner Author

krahets commented Dec 14, 2022

请问C语言部分我可以一起进行创作吗?

@huawuque404 非常欢迎!请阅读本文 contribution guidelines ,以及可以参考过往 pull request 的提交方式

@he-weilai
Copy link
Contributor

好嘞!🤝

@Loner1024
Copy link

Considers add Rust code example? I want to provide help.

@krahets
Copy link
Owner Author

krahets commented Dec 14, 2022

Considers add Rust code example? I want to provide help.

Sure. Feel free to push a PR

@Loner1024
Copy link

Considers add Rust code example? I want to provide help.

Sure. Feel free to push a PR

I will create a new issue for Rust code translation. It helps assign tasks for those who want to participate.

@krahets
Copy link
Owner Author

krahets commented Dec 14, 2022

@Loner1024 I've added Rust to the table.

@gyt95
Copy link
Contributor

gyt95 commented Dec 14, 2022

The project was forked more than ten days ago and now it is finally here. I want to help translate the JavaScript and TypeScript versions of the "Space Time Tradeoff" section~

十几天前fork了项目现在终于来了,我想帮忙翻译 《权衡时间与空间》一节的 JavaScript 和 TypeScript 两个版本~

@krahets krahets assigned Gonglja and unassigned a16su May 26, 2023
@krahets
Copy link
Owner Author

krahets commented May 26, 2023

Hi @gvenusleo @JeffersonHuang ! The Dart codes are almost covering all the sections. I'm wondering added the codes to the HTML documents, which is more accessible to the readers.

Could you please doubly check and test all the Dart codes and make sure it consistent with the Java codes(or Python codes)? Thanks!

@gvenusleo
Copy link
Contributor

gvenusleo commented May 30, 2023

Hi @gvenusleo @JeffersonHuang ! The Dart codes are almost covering all the sections. I'm wondering added the codes to the HTML documents, which is more accessible to the readers.

Could you please doubly check and test all the Dart codes and make sure it consistent with the Java codes(or Python codes)? Thanks!

I've checked all the Dart codes and modified some of them to match the Java output. Please see #522 .

By the way, due to the built-in mechanisms of the language and random numbers, some of the output may not be exactly the same.

@JeffersonHuang
Copy link
Contributor

Thank you very much.

@krahets
Copy link
Owner Author

krahets commented Jun 1, 2023

Thanks. @gvenusleo ! I've added the Dart codes to the documents in #529 .

  1. Could you help test the modified dart code file array.dart and linked_list.dart ?
  2. Could you fill in all the empty code blocks such as L159 of linked_list.dart ?

@gvenusleo
Copy link
Contributor

gvenusleo commented Jun 2, 2023

Thanks. @gvenusleo ! I've added the Dart codes to the documents in #529 .

  1. Could you help test the modified dart code file array.dart and linked_list.dart ?
  2. Could you fill in all the empty code blocks such as L159 of linked_list.dart ?

Hi, @krahets ! I have modified some Dart codes including array.dart and linked_list.dart , and then filled in the empty code bloacks in the documents. Please see #543 .

@krahets
Copy link
Owner Author

krahets commented Jul 22, 2023

Hi @sjinzh , @night-cruise! I think it is time to add Rust code to the documents. I found that some code lacks of comments, such as array_queue.rs. Could you recheck the Rust code thoughouly? When finished, I will release them to docs.

@codingonion
Copy link
Contributor

Hi @sjinzh , @night-cruise! I think it is time to add Rust code to the documents. I found that some code lacks of comments, such as array_queue.rs. Could you recheck the Rust code thoughouly? When finished, I will release them to docs.

OK.

@night-cruise
Copy link
Contributor

Hi @sjinzh , @night-cruise! I think it is time to add Rust code to the documents. I found that some code lacks of comments, such as array_queue.rs. Could you recheck the Rust code thoughouly? When finished, I will release them to docs.

OK, I will check the rust code.

@krahets krahets changed the title Codes Translation to C++, Python, Go, JS, TS, C, C#, Swift, Zig, Rust (Help Wanted) Codes Translation to C++, Python, Go, JS, TS, C, C#, Swift, Rust, Dart, Zig (Help Wanted) Jul 28, 2023
@Nigh
Copy link
Contributor

Nigh commented Sep 14, 2023

Hi @krahets , I have translated C code in chapter_greedy in #755

@yahya-mohammed07
Copy link

I can help translate c++, TS, Js codes

@QiLOL
Copy link
Contributor

QiLOL commented Sep 27, 2023

Hello @krahets , the translation for iteration and recursion in Zig is ready, please check: #804 Thanks!

@krahets krahets changed the title Codes Translation to C++, Python, Go, JS, TS, C, C#, Swift, Rust, Dart, Zig (Help Wanted) Codes Transpilation to C++, Python, Go, JS, TS, C, C#, Swift, Rust, Dart, Zig (Help Wanted) Oct 29, 2023
@memorycancel
Copy link

Hi @krahets , is there a plan to add the language of Ruby?

@krahets krahets changed the title Codes Transpilation to C++, Python, Go, JS, TS, C, C#, Swift, Rust, Dart, Zig (Help Wanted) Codes Transpilation to C++, Python, Go, JS, TS, C, C#, Swift, Rust, Dart, Zig and other languages (Help Wanted) Nov 2, 2023
@krahets
Copy link
Owner Author

krahets commented Nov 2, 2023

@memorycancel Yes, we welcome PRs in any coding language, and the code will be deployed on the page when the completion level is reached.

@memorycancel
Copy link

@memorycancel Yes, we welcome PRs in any coding language, and the code will be deployed on the page when the completion level is reached.

OK!I can help, can you give some links, something like a TO-DO list which help kick-off a new language ?

@krahets
Copy link
Owner Author

krahets commented Nov 3, 2023

OK!I can help, can you give some links, something like a TO-DO list which help kick-off a new language ?

@memorycancel Please read the Contribution Guideline before start the journey. Just coding in a new folder codes/ruby/ and I'll handle other work.

Here's some PR examples: #632, #681, #696.

@krahets krahets changed the title Codes Transpilation to C++, Python, Go, JS, TS, C, C#, Swift, Rust, Dart, Zig and other languages (Help Wanted) Codes Transpilation to C++, C#, Swift, Rust, Dart, Zig and other languages (Help Wanted) Nov 3, 2023
@krahets krahets changed the title Codes Transpilation to C++, C#, Swift, Rust, Dart, Zig and other languages (Help Wanted) Codes Transpilation to multiple progamming languages (Help Wanted) Jan 22, 2024
@krahets krahets changed the title Codes Transpilation to multiple progamming languages (Help Wanted) Code Transpilation to multiple progamming languages (Help Wanted) Jan 22, 2024
@khoaxuantu
Copy link
Contributor

Hello @krahets, I would love to help transpiling to Ruby, maybe starting with "Array & Linked List" chapter would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Code-related
Projects
None yet
Development

No branches or pull requests