Maskhjarna / tree-sitter-purescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tree-sitter-purescript

Purescript language grammar for Tree-sitter.

Current state of the grammar

Parsing and highlighting is handled rather well; for instance, parsing 21k LOC of PureScript code across 378 files only returns 3 errors, so it will work very well for your regular syntax highlighting tasks.

The areas of potential improvement at the moment are cleaner, better structured node trees, more elaborate queries, reducing the size of and the dependency for the C scanner as well as increasing the amount of tests. Some documentation wouldn't hurt too.

Editor support

Helix

PureScript support works out of the box.

Kakoune

Default configuration is present for kak-tree-sitter. Install the plugin and install PureScript grammar with ktsctl -fci purescript.

(Neo)Vim

TBA.

Emacs

TBA.

Other editors

Please suggest your ideas via issues.

Issues reporting and contributing

If you notice something not working correctly or simply have a suggestion or request to make, don't hesitate to open an issue, or open a pull request if you have code to share.

Related projects

Acknowledgments

About

License:MIT License


Languages

Language:C 76.3%Language:JavaScript 20.0%Language:Scheme 1.8%Language:Makefile 1.7%Language:Python 0.2%Language:Shell 0.1%