tree-sitter-php
tree-sitter-go
tree-sitter-php | tree-sitter-go | |
---|---|---|
4 | 3 | |
131 | 283 | |
4.5% | 4.2% | |
0.0 | 6.4 | |
2 days ago | 5 days ago | |
C | JavaScript | |
MIT License | 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.
tree-sitter-php
- Building tree-sitter languages for Emacs
-
PHP variable highlighting problem
Thank you, but i didn't get what highlights.scm do you mean, it this one https://github.com/tree-sitter/tree-sitter-php/blob/master/queries/highlights.scm It doesn't contain @keyword for "$", only @operator one
- tree-sitter-php: PHP grammar for tree-sitter
- My major-mode for PHP, phps-mode, now has a built-in PHP 8.0 Parser written entirely in Emacs-Lisp
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-c - C grammar for tree-sitter
elisp-tree-sitter - Emacs Lisp bindings for tree-sitter
tree-sitter-zig - Tree-sitter package for the Zig programming language
Moose - MOOSE - Platform for software and data analysis.
emacs-phps-mode - Emacs major mode for PHP with code intelligence
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
tree-sitter-rust - Rust grammar for tree-sitter
tree-sitter-haskell - Haskell grammar for tree-sitter.
tree-sitter-make
tree-sitter - An incremental parsing system for programming tools
tree-sitter-sql - SQL syntax highlighting for tree-sitter
PHP Parser - A PHP parser written in PHP