Re: WAST support on GitHub

GitHub limits filetype recognition to text-based formats only, meaning
binary files are skipped when calculating a repository's usage statistics.
So it would've been pointless to include .wasm as a recognised extension.


On 22 June 2017 at 14:44, Wink Saville <wink@saville.com> wrote:

> Did you consider tracking .wasm files, the binary format for .wast? It
> should be fairly easy to incorporate wasm2wast to convert .wasm -> .wast on
> the fly?
>
> On Wed, Jun 21, 2017 at 7:14 PM John Gardner <gardnerjohng@gmail.com>
> wrote:
>
>> Hello!
>>
>> I meant to give a heads up nearly a month ago, but better late than
>> never... Just to inform you all that WebAssembly will soon be formally
>> classified on GitHub <https://github.com/github/linguist/pull/3650>.
>>
>> This has two (admittedly superficial) benefits:
>>
>>    1. It will now be possible to search for "WebAssembly" repos on
>>    GitHub, which should also facilitate gauging the language's in-the-wild use
>>    (at least as far as .wast and .wat files are concerned).
>>    2. .wast and .wat files will now receive syntax highlighting using a language-grammar
>>    hand-written <https://github.com/Alhadis/language-webassembly> by
>>    yours truly.
>>
>> If there are any corrections or updates that should be made to the
>> grammar's highlighting, please file an issue and I'll fix it as soon as
>> possible. =)
>>
>> (The changes will be live on GitHub with the next release of Linguist
>> <https://github.com/github/linguist>. We don't have a concrete release
>> schedule, but it generally happens every few weeks or so...)
>>
>> Regards,
>> - John / @Alhadis <http://github.com/Alhadis>
>>
>

Received on Thursday, 22 June 2017 05:04:11 UTC