linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Add Clue language

Open Markos-Th09 opened this issue 1 year ago • 6 comments

Description

This PR adds the clue language to linguist. Closes #6305

Checklist:

  • [x] I am adding a new language.
    • [ ] The extension of the new language is used in hundreds of repositories on GitHub.com.
      • Search results for each extension:
        • https://github.com/search?q=path%3A**%2F%3F*.clue&type=code
    • [x] I have included a real-world usage sample for all extensions added in this PR:
      • Sample source(s):
        • https://github.com/ClueLang/Clue
        • https://github.com/Maiori44/msgpack-clue
        • https://github.com/Maiori44/ip-please
      • Sample license(s): MIT, UNLICENSE
    • [x] I have included a syntax highlighting grammar: https://github.com/ClueLang/Clue-For-VSCode
    • [x] I have added a color
      • Hex value: #0009b5
      • Rationale: Used as the main color in the language logo

Markos-Th09 avatar Apr 03 '23 04:04 Markos-Th09

@Markos-Th09 Regarding your question about "unacceptable samples", the following files appear to be fixtures for testing syntax-parsing, or an example code-snippet taken from a tutorial:

The following samples are good examples of realistic, practical uses for Clue (and ideally what you should be aiming for when selecting samples):

Thanks I think we have some more of these.

Markos-Th09 avatar Apr 03 '23 05:04 Markos-Th09

We can't accept this grammar without a license. Please find another grammar or license your grammar with one of these licenses and add the cached license file to this PR (run bundle exec licensed cache -c vendor/licenses/config.yml once you've added a license file and pulled the latest SHA into this PR).

The grammar is licensed under MIT.

Markos-Th09 avatar Apr 03 '23 10:04 Markos-Th09

Usage is really low for inclusion right now too.

lildude avatar Apr 03 '23 10:04 lildude

The grammar is licensed under MIT.

Not according to the repo:

CleanShot 2023-04-03 at 11 10 21

We need a license file.

lildude avatar Apr 03 '23 10:04 lildude

The grammar is licensed under MIT.

Not according to the repo:

CleanShot 2023-04-03 at 11 10 21

We need a license file.

It is intended to be licensed under MIT. I don't know what happened but I will add the license as soon as I can.

Markos-Th09 avatar Apr 03 '23 10:04 Markos-Th09

Resolved

Markos-Th09 avatar Apr 03 '23 10:04 Markos-Th09