-
Notifications
You must be signed in to change notification settings - Fork 11
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
Instruction to train Recoder on other languages #5
Comments
Please offer an email address for me and I will offer you the related code. |
You can contact me via [email protected]. Thank you very much! |
Hello @pkuzqh! Hope you're doing great! Could I also have the instructions/code for training Recoder on other programming languages? My email es [email protected]. Thank you in advance! |
@pkuzqh my email address is [email protected]. Can you please share the related code with me? |
Hi @pkuzqh , can this be trained on languages e.g. JavaScript? If so, can you please share the related code in my mail ([email protected])? |
Since our code processing the raw method is written based on the grammar of Java, it needs you to write a new script to process the code written in a new language based on the original script runsolvereplace2.py |
We also are working on transforming the implementation using tree-sitter to add support for other languages. |
@pkuzqh do you have a tentative timeline of when the tree-sitter implementation will be available? |
@pkuzqh unless I'm mistaken, it doesn't appear that runsolvereplace2.py is included in the repo. |
sorry, it is in https://disk.pku.edu.cn:443/link/37FED995C8031D4DB8212BC517ECC3A1. Maybe I need several months to change the grammar used in our tools. |
I will try my best to re-implement it as soon as possible. |
@pkuzqh we need the JS support for Recoder in the coming weeks. It appears we should look into the implementation of That said do you think it is even realistic for us to try adding support for JavaScript within the current tool? What would you recommend? |
I am trying to download Also curious to know whether |
Sure. I will upload it soon. |
Emmmm. I think it is hard to implement it in JavaScript in several weeks, because it should consider several unique properties of JavaScript. |
@pkuzqh thanks for your feedback. We would wait for the tree-sitter implementation to be available. Please keep us updated! |
Hi all,
To my understanding Recoder needs to extract the host language grammar rules.
So it would be great to have instructions on how to train Recoder on other languages.
Just looking at the code I can see running
solvetree.py
will produce arule.pkl
, is there anything else required?Thanks.
The text was updated successfully, but these errors were encountered: