linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Add Jac language support

Open MalithaPrabhashana opened this issue 1 month ago • 2 comments

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 .jac extension 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
    • [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
    • [ ] I have updated the heuristics to distinguish my language from others using the same extension.

MalithaPrabhashana avatar Oct 30 '25 12:10 MalithaPrabhashana

@lildude Hey, I’ve updated the PR description as requested. Could you please check if everything is now in the expected format?

MalithaPrabhashana avatar Oct 30 '25 15:10 MalithaPrabhashana

@lildude Samples also updated by adding 2 real applications we created.

MalithaPrabhashana avatar Oct 31 '25 07:10 MalithaPrabhashana

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.

lildude avatar Dec 12 '25 11:12 lildude