csharp-mode
tree-sitter-go
csharp-mode | tree-sitter-go | |
---|---|---|
4 | 3 | |
153 | 282 | |
0.0% | 3.9% | |
0.0 | 6.4 | |
over 1 year ago | 24 days ago | |
Emacs Lisp | JavaScript | |
GNU General Public License v3.0 only | MIT License |
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.
csharp-mode
-
Error trying to load csharp mode -- weird interaction with R-mode???
csharp-mode is an installed package. Status: Installed in ‘csharp-mode-20210105.1950/’ (unsigned). Delete Version: 20210105.1950 Summary: C# mode derived mode Homepage: https://github.com/emacs-csharp/csharp-mode Keywords: c# languages oop mode Other versions: 0.11.0 (installed), 20211124.1105 (Melpa), 20200402.919 (melpa), 1.1.1 (Melpa Stable), 0.9.0 (marmalade).
- csharp-mode: A major-mode for editing C# in emacs
-
Tree-sitter: an incremental parsing system for programming tools
Tooting my own horn, Emacs’ csharp-mode[1] is undergoing a rewrite to be 100% based on tree-sitter rather than regexps.
The new code runs way faster and is so much nicer to work with.
Once all the kinks are gone, I can’t imagine going back.
[1] https://github.com/emacs-csharp/csharp-mode/blob/master/csha...
- Csharpmode Adds Support For Treesitter
tree-sitter-go
-
Looking for EBNF / Antlr / yacc for Go with generics
Might the tree-sitter grammar at https://github.com/tree-sitter/tree-sitter-go help at all?
- Building tree-sitter languages for Emacs
-
Tree-sitter: an incremental parsing system for programming tools
Worth calling out that the syntax highlighting support is used to highlight several languages in github.com. (Linguist is still used for the long tail of languages, but we plan to migrate more and more over to tree-sitter-based highlighting over time.)
The query language is also what's used to drive the fuzzy/ctags-like Code Navigation feature. Both of those are powered by tree-sitter query files defined in each language's repo, like these for Go: https://github.com/tree-sitter/tree-sitter-go/tree/master/qu...
What are some alternatives?
tree-sitter - An incremental parsing system for programming tools
elisp-tree-sitter - Emacs Lisp bindings for tree-sitter
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
Moose - MOOSE - Platform for software and data analysis.
tree-sitter-c - C grammar for tree-sitter
tree-sitter-haskell - Haskell grammar for tree-sitter.
tree-sitter-kotlin - Kotlin grammar for Tree-sitter
PHP Parser - A PHP parser written in PHP