Skip to content

Common Intermediate Language (MSIL) #7407

@Lamparter

Description

@Lamparter

Language name

  • Common Intermediate Language
    (previously Microsoft Intermediate Language, abbreviated as MSIL, CIL or simply IL)

URL of example repository

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Add LanguageGood First IssueThis is a great opportunity to start contributing to Linguist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions