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

New Language: Jai #6631

Open
marvhus opened this issue Dec 8, 2023 · 3 comments
Open

New Language: Jai #6631

marvhus opened this issue Dec 8, 2023 · 3 comments
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist

Comments

@marvhus
Copy link

marvhus commented Dec 8, 2023

Language name

Jai

URL of example repository

https://github.com/search?q=path%3A*.jai&type=code
5.2k files

Projects using the language:
https://github.com/focus-editor/focus
https://github.com/SogoCZE/Jails

Wiki showing how the language works. Might be useful:
https://github.com/Jai-Community/Jai-Community-Library/wiki

URL of syntax highlighting grammar

https://github.com/krig/jai-mode (emacs highlighting)
https://github.com/rluba/jai.vim (vim highlighting)
https://github.com/onelivesleft/the-language (VS Code highlighting)

Most popular extensions

  • .jai

Detected language

none

@marvhus marvhus added Add Language Good First Issue This is a great opportunity to start contributing to Linguist labels Dec 8, 2023
@johnmays
Copy link
Contributor

Working on this right now.

@johnmays
Copy link
Contributor

Right now it's not looking so good, chiefly because of an issue with the grammar.

The only syntax file format accepted by the repository is .json, which eliminates two that you provided, leaving us with only the VS Code extension syntax. But this might be fine, since there seem to be a group of small, fixable errors with that syntax (like trailing commas accepted by some json parsers, just not the grammar parser accepted by linguist). I am trying to see if I can get a working version right now, in this fork.

So, a few things could happen from this point:

  1. I don't get the grammar to pass the checks and either:
    • another jai grammar needs to be found (but, on a cursory glance, I don't see any other acceptable ones on the internet)
    • someone more skilled than I should try to modify the one in the VS Code repo
  2. I do get the grammar to pass the checks in the repo. In this case, we would need the VS code extension's maintainer(s) to either

@johnmays
Copy link
Contributor

Okay, small update. I have a working syntax arrangement for the grammars now, but I just need adequate permission to use it (or a license for the syntax) from the VS Code extension repo's maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist
Projects
None yet
Development

No branches or pull requests

2 participants