Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dhall-lang/vscode-language-dhall

Dhall Syntax Highlighting for VS Code
https://github.com/dhall-lang/vscode-language-dhall

Last synced: 3 months ago
JSON representation

Dhall Syntax Highlighting for VS Code

Lists

README

        

# Dhall Language support

Syntax highlighting support for the [Dhall](https://dhall-lang.org) programming language.

# Highlighting
Adds highlighting support for Dhall (.dhall) files.
Big Kudos for the [Sublime Dhall](https://github.com/SQbQxeKd3JHD8/SublimeDhall) which served as a reference.

![Screenshot Highlighting](/images/highlight-example.png?raw=true)

# Development
Source code is located at `src/typescript/dhall-tmlanguage.ts` and is an executable typescript file.

Build steps:

```bash
npm install
npx ts-node src/typescript/dhall-tmlanguage.ts > ./syntaxes/dhall.tmLanguage.json
```

Packaging:

```bash
vsce package
```

# Dev Resources

* [Syntax Highlight Guide](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide)
* [Description of the grammar rules](https://macromates.com/manual/en/language_grammars)
* [Dhall ABNF Reference](https://github.com/dhall-lang/dhall-lang/blob/master/standard/dhall.abnf)
* [Dhall website](https://dhall-lang.org/)