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

Add ISPC language #5191

Closed
wants to merge 7 commits into from
Closed

Add ISPC language #5191

wants to merge 7 commits into from

Conversation

Nixinova
Copy link
Contributor

@Nixinova Nixinova commented Feb 6, 2021

Adds the ISPC language, full name "Intel® Implicit SPMD Program Compiler" https://github.com/ispc/ispc, extension .ispc, along with its header files .isph.

Closes #5042

Color #006ac8 taken from official site https://ispc.github.io/

Usage:

Samples:

Using C grammar for now as I cannot find the source of https://pastebin.com/8aHLeWU7 (taken from intel-corporation.ispc@v1.1.0 in the VSCode Marketplace)

Full name "Intel® Implicit SPMD Program Compiler" https://github.com/ispc/ispc

Color `#006ac8` taken from official site https://ispc.github.io/

Using C grammar for now as I cannot find the source of https://pastebin.com/8aHLeWU7 (taken from intel-corporation.ispc@v1.1.0 in the VSCode Marketplace)
From repo `ispc/ispc`, filename `ispc/examples/cpu/sort/sort.ispc`, licensed under BSD-3-Clause
From repo `ispc/ispc`, filename ispc/`ispcrt/ispcrt.isph`, licensed under BSD-3-Clause
@Nixinova Nixinova requested a review from a team as a code owner February 6, 2021 03:32
@davidbrown2324
Copy link
Contributor

@Nixinova
Did you add syntax highlighting for the ISPC language?
It looks like you can add the language without it. Is that right?
Would be so much easier.
I hope your pull request gets approved soon.

@Nixinova
Copy link
Contributor Author

Nixinova commented Feb 7, 2021

No, I'm just using C grammar for now as I cant find the actual source of the proper grammar, and yes you can add a language without a new grammar.

@davidbrown2324
Copy link
Contributor

No, I'm just using C grammar for now as I cant find the actual source of the proper grammar, and yes you can add a language without a new grammar.

Thanks for all your help. I have been wanting to do this for a couple of months, you have been a big help.

@lildude
Copy link
Member

lildude commented Feb 8, 2021

Can you please state in the original note of this PR where the sample files came from and the license of each.

@lildude lildude requested a review from Alhadis February 8, 2021 10:34
@Nixinova
Copy link
Contributor Author

Nixinova commented Feb 8, 2021

Done, both from https://github.com/ispc/ispc under BSD-3

@lildude
Copy link
Member

lildude commented Feb 9, 2021

Usage is a little short on both extensions at the moment:

  • .ispc:

Total files found: 6790
Unique public user/repos: 142
Unique owners: 127

  • .isph

Total files found: 3074
Unique public user/repos: 158
Unique owners: 143

We like to shoot for 200 unique user/repos. It doesn't look like we're far off either so it probably won't be long.

@Nixinova
Copy link
Contributor Author

Nixinova commented Mar 17, 2021

Closing until usage is reached.

@Nixinova Nixinova closed this Mar 17, 2021
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add language: ISPC
3 participants