This repository was archived by the owner on Nov 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
This repository was archived by the owner on Nov 17, 2021. It is now read-only.
Adding More Languages to Piston-CLI #5
Copy link
Copy link
Open
Labels
area: languageslevel: 0 - beginnerThis PR is beginner-friendly.This PR is beginner-friendly.priority: 2 - mediumMedium PriorityMedium Prioritystatus: approvedtype: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
Description
We want to add languages as soon as they are added on the piston-api, and keep increasing the languages count in this, but for that we need to add those languages' lexers and few other stuff. This meta issue contains information general information for this project and keeps track of the progress.
Note: If you want to help with adding more languages, please make to get yourself assigned to one of the open issues for adding languages. This system prevents that multiple people are working on the same tests.
General information
Procedure:
- Add the language to
languages_. - Add the language's lexer in
init_lexers()if the lexer is present else skip this. - Add the language to the
quick mapand assign which lexer it is going to use, if that lexer is not available choose the closest matching lexer. You can have a look at this file for finding the lexers. - Add the language extension to
lang_extensions_. - Done! 🎉
A few important points:
- Please take a look at the existing code to get an idea of the existing conventions in this repository.
Progress
Currently the progress i being tracked by commenting on this Issue, on what language to add, and then opening a separate issue for that.
Metadata
Metadata
Assignees
Labels
area: languageslevel: 0 - beginnerThis PR is beginner-friendly.This PR is beginner-friendly.priority: 2 - mediumMedium PriorityMedium Prioritystatus: approvedtype: enhancementChanges or improvements to existing featuresChanges or improvements to existing features