linguist
linguist copied to clipboard
Add Jac language support
Summery:
Added official support for the Jac programming language to GitHub Linguist, including language definition, syntax-highlighting grammar, and representative sample files.
Description
This pull request adds Jac language detection and highlighting by:
- Adding a new Jac entry to languages.yml
- Vendoring the Jac TextMate grammar (jaseci-labs/jac-linguistic-syntax)
- Adding example .jac files under samples/Jac/ for detection validation
Checklist:
- [X] I am adding a new language.
- [X] The
.jacextension of the new language is used in hundreds of repositories on GitHub.com.- Search results for each extension: 4.1k files
- https://github.com/search?q=walker+path%3A*.jac&type=code
- https://github.com/search?q=node+path%3A*.jac&type=code
- https://github.com/search?q=with+entry+path%3A*.jac&type=code
- Search results for each extension: 4.1k files
- [X] I have included a real-world usage sample for all extensions added in this PR:
- [X] I have included a syntax highlighting grammar: https://github.com/jaseci-labs/jac-linguistic-syntax
- [X] I have added a color
- Hex value:
#FC792D - Rationale: Matches the Jac logo color for consistency. Webpage
- Hex value:
- [ ] I have updated the heuristics to distinguish my language from others using the same extension.
- [X] The
@lildude Hey, I’ve updated the PR description as requested. Could you please check if everything is now in the expected format?
@lildude Samples also updated by adding 2 real applications we created.
Please merge main into your branch so I can kick off the test. I can't merge main because your fork is owned by an organization that I'm not a member of.