-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Add LanguageGood First IssueThis is a great opportunity to start contributing to LinguistThis is a great opportunity to start contributing to Linguist
Description
Language name
- Common Intermediate Language
(previously Microsoft Intermediate Language, abbreviated as MSIL, CIL or simply IL)
URL of example repository
- For example,
System.Runtime.CompilerServices.Unsafe
uses the IL language directly. - Roslyn, the C# and Visual Basic compiler, also uses IL.
- Mono is also partially programmed in IL and so are some of the tests for the .NET Runtime.
Most languages built on top of .NET and the CLI (Common Language Infrastructure) compile into IL, however not so many projects are written in IL directly.
From a quick search, there are just over 50.9k files on GitHub written using MSIL.
URL of syntax highlighting grammar
I don't know where I would find a syntax highlighting grammar for MSIL.
Most popular extensions
- CIL uses the
.il
file extension. - Some repositories choose to use the
.cil
file extension, however the official file extension for writing IL as included in the IL SDK is.il
.The
.cil
extension is also used by the SELinux Common Intermediate Language, which is not to be confused with the .NET CIL. It may be best not to include the.cil
file extension in the .NET CIL language yaml spec to avoid confusion with SELinux CIL.
Detected language
Files written using IL as of now are not being detected as any language, and do not have any kind of syntax highlighting. Here's an example.
axvr
Metadata
Metadata
Assignees
Labels
Add LanguageGood First IssueThis is a great opportunity to start contributing to LinguistThis is a great opportunity to start contributing to Linguist