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

Make GitHub properly detect and highlight Coconut source #335

Open
evhub opened this issue Oct 9, 2017 · 4 comments
Open

Make GitHub properly detect and highlight Coconut source #335

evhub opened this issue Oct 9, 2017 · 4 comments

Comments

@evhub
Copy link
Owner

evhub commented Oct 9, 2017

See https://github.com/github/linguist.

@evhub evhub added this to the v1.3.1 milestone Oct 9, 2017
@evhub evhub added tooling and removed modification labels Oct 9, 2017
@evhub
Copy link
Owner Author

evhub commented Oct 20, 2017

In progress at github-linguist/linguist#3872.

@evhub evhub removed this from the v1.3.1 milestone Oct 23, 2017
@eindiran
Copy link
Contributor

eindiran commented Feb 2, 2018

I was reading over the guidelines for accepting a language into linguist and it appears that there must be 'hundreds' of unique repositories in the wild.

If you look for Coconut usage in the wild, I don't think it is currently sufficient. There are dozens of unique repositories, but not yet hundreds.

In the meantime, would it be worthwhile to come up with a grammar for Coconut that isn't GPL'ed? The linguist repo doesn't accept grammars which are, but I saw that the linked grammar in the PR you opened @evhub is GPL'ed.

@evhub
Copy link
Owner Author

evhub commented Feb 2, 2018

@eindiran Yeah, developing a non-GPL grammar would definitely be a good idea. A possible starting point would be to adapt MagicPython.

@Darkle
Copy link

Darkle commented Mar 4, 2018

As a fallback, you can use the .gitattributes override feature in individual repos: https://github.com/github/linguist#using-gitattributes
e.g. *.coco linguist-language=python
(note: the highlighting may not show up until the next commit after you added the .gitattributes file.

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

No branches or pull requests

3 participants