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

Add support for lexc in GH Linguist #16

Open
snomos opened this issue Mar 16, 2022 · 3 comments
Open

Add support for lexc in GH Linguist #16

snomos opened this issue Mar 16, 2022 · 3 comments

Comments

@snomos
Copy link
Member

snomos commented Mar 16, 2022

Cf https://github.com/github/linguist/blob/master/CONTRIBUTING.md

There is already one for VSCode here: https://github.com/eddieantonio/vscode-lexc

There are more than 200 repos with lexc files, according to this search:

https://github.com/search?p=1&q=extension%3Alexc+NOT+nothack&type=Code (4930 hits).

Benefits:

  • our actual code would count in the code statistics, not just Makefiles etc
  • syntax highlighting in Markdown files and other GH places
  • more visibility for our work 👍

WDYT @flammie @albbas @Trondtr @ftyers

@flammie
Copy link
Contributor

flammie commented Mar 16, 2022

sounds like a good idea, I know apertium folks have doen some work with github linguist but I got the impression the syntax for the thing was not very nice to work with so I haven't researched further. Is this vscode grammar the same as the textmate they are expectig?

@snomos
Copy link
Member Author

snomos commented Mar 16, 2022

I don’t know, but it should in any case be a good start.

@mr-martian
Copy link

My understanding is that textmate grammars are in the process of being replaced by tree-sitter grammars, though there isn't yet an established way to submit one of the latter, though such a grammar now exists: https://github.com/apertium/tree-sitter-apertium, which might be a reason to wait a bit and see if they provide a way to submit that.

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

No branches or pull requests

3 participants