language-purescript

PureScript language support for the Atom editor

darinmorrison

12,793

18

Bug Reports

0.9.6

MIT

GitHub

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.