Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.08 KB

README.md

File metadata and controls

17 lines (11 loc) · 1.08 KB

PureScript language support in Atom

Adds syntax highlighting to PureScript files in Atom. This grammar is also used indirectly by GitHub highlighting via linguist, and VS Code.

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.

Development

The language-purescript grammar derives originally from the language-haskell grammar, with changes to accommodate the PureScript language and the subsequent language changes.

The grammar used by Atom is grammars/purescript.cson, but this is generated from src/purescript.coffee, this can be regenerated via npm run build.

The grammar is picked up by regular linguist updates, and via a build script in vscode-language-purescript.