github recognition of osl language


Mitch Prater
 

Hi All,

github currently does not recognize osl as a language. I asked them about this, and it's apparently up to someone/anyone to add the necessary language grammar to their linguist repository - https://github.com/github/linguist
- which uses a TextMate-style definition: https://macromates.com/manual/en/language_grammars.

It would be nice if osl were an "officially recognized" language. Is anyone familiar with this stuff? I thought about taking a stab at it myself, but realistically, I doubt I'll ever have the time.

mitch


Larry Gritz
 

There's an OSL mode for SublimeText (https://packagecontrol.io/packages/Open%20Shading%20Language), which is a TextMate-style editor. I don't know how good this language mode is for ST, but I wonder if that already contains most of the work needed for github?


On Nov 3, 2021, at 3:33 PM, Mitch Prater <mprater@...> wrote:

Hi All,

github currently does not recognize osl as a language. I asked them about this, and it's apparently up to someone/anyone to add the necessary language grammar to their linguist repository - https://github.com/github/linguist
- which uses a TextMate-style definition: https://macromates.com/manual/en/language_grammars.

It would be nice if osl were an "officially recognized" language. Is anyone familiar with this stuff? I thought about taking a stab at it myself, but realistically, I doubt I'll ever have the time.

mitch

--
Larry Gritz





Mitch Prater
 

Ah - good to know. I'll take a quick look and see if that's of any use.

From: Larry Gritz <lg@...>
Sent: Wednesday, November 3, 2021 4:01 PM
To: Mitch Prater <mprater@...>
Cc: osl-dev@... <osl-dev@...>
Subject: Re: [OSL Discussion] github recognition of osl language
 
You don't often get email from lg@.... Learn why this is important

CAUTION: This email originated from outside of LAIKA. Do not click links or open attachments unless you recognize the sender and know the content is safe.

There's an OSL mode for SublimeText (https://packagecontrol.io/packages/Open%20Shading%20Language), which is a TextMate-style editor. I don't know how good this language mode is for ST, but I wonder if that already contains most of the work needed for github?


On Nov 3, 2021, at 3:33 PM, Mitch Prater <mprater@...> wrote:

Hi All,

github currently does not recognize osl as a language. I asked them about this, and it's apparently up to someone/anyone to add the necessary language grammar to their linguist repository - https://github.com/github/linguist
- which uses a TextMate-style definition: https://macromates.com/manual/en/language_grammars.

It would be nice if osl were an "officially recognized" language. Is anyone familiar with this stuff? I thought about taking a stab at it myself, but realistically, I doubt I'll ever have the time.

mitch

--
Larry Gritz