Skip to content

purescript-contrib/atom-language-purescript

Repository files navigation

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.