tree-sitter-typescript
TypeScript grammar for tree-sitter (by tree-sitter)
tree-sitter-haskell
Haskell grammar for tree-sitter. (by tree-sitter)
tree-sitter-typescript | tree-sitter-haskell | |
---|---|---|
11 | 2 | |
375 | 155 | |
4.5% | 1.3% | |
8.1 | 0.0 | |
21 days ago | 22 days ago | |
C | C | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tree-sitter-typescript
Posts with mentions or reviews of tree-sitter-typescript.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-14.
-
Mastering JSX Editing in Emacs with Tree-sitter
Now, let's dive into some practical editing functions implemented using Tree-sitter. Keep in mind that all the functions are specific to the tree-sitter-typescript parser and only work in the Emacs 29 built-in tsx-ts-mode.
- Let's write an Emacs treesitter major mode
-
How to make `goto_next_test` and `goto_prev_test` work?
I believe goto_next_test requires support from the tree-sitter parser, specifically tree-sitter-javascript in the case of JS and tree-sitter-typescript in the case of TS.
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
- Building tree-sitter languages for Emacs
-
Is there an official language spec and/or lexical grammar for TS?
If you need to do efficient AST operations, have you considered treesitter? There is a typescript grammar available https://github.com/tree-sitter/tree-sitter-typescript
- tree-sitter-typescript: TypeScript grammar for tree-sitter
-
Really sick of the shoddy jsx/tsx handling....would anyone be willing to help me write a major-mode for it?
I am curious though, why did you write your own indentation tool? (It works super well btw, amazing work) I thought tree-sitter supported tsx (and found repos like this) so just wondering if you tried those and they didn't work so you wrote your own.
-
Treesitter : Proposal for more precise syntax highlighting
Please have a look at it - https://github.com/tree-sitter/tree-sitter-typescript/issues/177
-
Plugins to help writing a new tree-sitter parser?
You can see a much more in-depth version at https://github.com/tree-sitter/tree-sitter-typescript or https://github.com/tree-sitter/tree-sitter-rust
tree-sitter-haskell
Posts with mentions or reviews of tree-sitter-haskell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-18.
-
How to support indentation of Haskell with Helix?
I want to support indentation with Haskell, but after reading the indent queries page, I still don't know how to go about it. I see the https://github.com/tree-sitter/tree-sitter-haskell project but how do I go about installing/enabling indent queries for Haskell?
-
neovim native lsp, tree-sitter setup
HLS works quite well with nvim lsp. I saw someone mentioning there were some updates to treesitter for Haskell. Guess this was the repo https://github.com/tree-sitter/tree-sitter-haskell. Not sure. The neovim treesitter repo doesn't list haskell support yet.
What are some alternatives?
When comparing tree-sitter-typescript and tree-sitter-haskell you can also consider the following projects:
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim-lspconfig - Quickstart configs for Nvim LSP
swc - Rust-based platform for the Web
test-karya - Karya's test framework, extracted.
tsi.el - treesitter-based indendentation for emacs 28 and 27
ban-instance - Declare that a typeclass instance should not exist.
vim-jsx-typescript - React JSX syntax highlighting for vim and Typescript
tree-sitter-go - Go grammar for tree-sitter
tree-sitter-python - Python grammar for tree-sitter
tree-sitter-cpp - C++ grammar for tree-sitter
tree-sitter-c-sharp - C# Grammar for tree-sitter
tree-sitter-graphql - Treesitter grammar for GraphQL
tree-sitter-typescript vs nvim-treesitter
tree-sitter-haskell vs nvim-lspconfig
tree-sitter-typescript vs swc
tree-sitter-haskell vs test-karya
tree-sitter-typescript vs tsi.el
tree-sitter-haskell vs ban-instance
tree-sitter-typescript vs vim-jsx-typescript
tree-sitter-haskell vs tree-sitter-go
tree-sitter-typescript vs tree-sitter-python
tree-sitter-haskell vs tree-sitter-cpp
tree-sitter-typescript vs tree-sitter-c-sharp
tree-sitter-typescript vs tree-sitter-graphql