linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Added The Device Modeling Language (DML)

Open TSonono opened this issue 6 months ago • 3 comments

  • Add The Device Modeling Language (DML) to the Linguist project.
  • Add the .dml as an extension for the DML language

Description

The Device Modeling Language (DML) is an open source domain-specific language for writing fast functional or transaction-level device models for virtual platforms. DML provides high-level abstractions suitable for functional device models, including constructs like register banks, registers, bit fields, event posting, interfaces between models, and logging. DML code is compiled by the DML Compiler (DMLC), producing C code with API calls tailored for a particular simulator.

Currently, the compiler supports building models for the Intel® Simics® simulator, but other back-ends may be added in the future.

DMLC is maintained by Intel.

  • [x] I am adding a new language.
    • [ ] The extension of the new language is used in hundreds of repositories on GitHub.com.
      • Search results for each extension:
        • https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.dml+%22dml+1.4%22
        • For some reason I see 0 repositories. While it's unclear to me if there are 200 unique public repositories. Intel has a lot of code internally written in DML but they are unfortunately in private repositories. The same is the case with customer's using Intel Simics to write their device models using DML.
    • [x] I have included a real-world usage sample for all extensions added in this PR:
    • [x] I have included a syntax highlighting grammar: https://github.com/intel/device-modeling-language
    • [x] I have added a color
      • Hex value: #0068B5
      • Rationale: Intel logo and Simics logo are blue.
    • [x] I have updated the heuristics to distinguish my language from others using the same extension.

TSonono avatar Aug 22 '24 09:08 TSonono