https://github.com/purescript-contrib/atom-language-purescript
PureScript language support for the Atom editor
https://github.com/purescript-contrib/atom-language-purescript
Last synced: 9 months ago
JSON representation
PureScript language support for the Atom editor
- Host: GitHub
- URL: https://github.com/purescript-contrib/atom-language-purescript
- Owner: purescript-contrib
- License: other
- Created: 2014-06-21T00:33:56.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T14:03:14.000Z (about 1 year ago)
- Last Synced: 2025-04-11T22:13:15.363Z (12 months ago)
- Language: CoffeeScript
- Size: 137 KB
- Stars: 34
- Watchers: 4
- Forks: 14
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PureScript language support in Atom
Adds syntax highlighting to [PureScript](http://www.purescript.org) files in Atom. This grammar is also used indirectly by
GitHub highlighting via [linguist](https://github.com/github/linguist), and [VS Code](https://github.com/nwolverson/vscode-language-purescript).
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](grammars/purescript.cson), but this is **generated** from
[src/purescript.coffee](src/purescript.coffee), this can be regenerated via `npm run build`.
The grammar is picked up by [regular linguist updates](https://github.com/github/linguist#theres-a-problem-with-the-syntax-highlighting-of-a-file), and via a `build` script in
[vscode-language-purescript](https://github.com/nwolverson/vscode-language-purescript).