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

Import languages from Pygments #96

Open
jayvdb opened this issue Dec 11, 2018 · 0 comments · May be fixed by #100
Open

Import languages from Pygments #96

jayvdb opened this issue Dec 11, 2018 · 0 comments · May be fixed by #100
Assignees

Comments

@jayvdb
Copy link
Member

jayvdb commented Dec 11, 2018

Create a script, any language, which must be checked into /tools/ in this repo and be run in Travis CI, which creates data files for any languages that are in Pygments but are missing from coAST.

This would replace coala/coala#4556 .

Try to include as much information from Linguist as possible, enhancing the local schema as needed.

a relevant WIP is coala/coala#3162

Note the hard part of this is merging language versions to avoid essentially duplicate languages. See some of the logic from .misc/pygments_coalang_import.py in that WIP .

iamkroot added a commit to iamkroot/coAST that referenced this issue Dec 18, 2018
Currently, we can retrieve the regex patterns for the required tokens
of all languages not found in the coAST schema.

Closes coala#96
@iamkroot iamkroot linked a pull request Dec 18, 2018 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants