linguist
linguist copied to clipboard
Added The Device Modeling Language (DML)
- 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.
- Search results for each extension:
- [x] I have included a real-world usage sample for all extensions added in this PR:
- Sample source(s):
- Sample license(s): Same as for Linguist project (MIT)
- [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.
- Hex value:
- [x] I have updated the heuristics to distinguish my language from others using the same extension.
- [ ] The extension of the new language is used in hundreds of repositories on GitHub.com.