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

TextMate-compatible grammar for CG-3 (for Github syntax highlighting) #48

Open
unhammer opened this issue Oct 25, 2019 · 1 comment
Open

Comments

@unhammer
Copy link
Collaborator

unhammer commented Oct 25, 2019

It'd be nice to have syntax highlighting of CG-3 files in Github. They use linguist which reads TextMate-compatible syntax highlighting grammars:

so step 1 would be to get syntax highlighting of CG-3 files working in TextMate.

There's an interactive grammar tester at https://github-lightshow.herokuapp.com

https://github.com/Agrabski/antlr_to_sublime_convert seems like it can convert antlr's to textmate

@unhammer
Copy link
Collaborator Author

unhammer commented Mar 10, 2022

I think VSCode also uses TextMate, so that's another reason it'd be nice to have.

Can the tree-sitter grammar https://github.com/apertium/tree-sitter-apertium/tree/master/tree-sitter-cg be converted? (Preferably even as a build-step?)

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

2 participants