SystemTap grammar and queries for tree-sitter as interpreted by Ryoko from the SystemTap v4.8 man pages, language reference, tapsets and test suite
- Enable accurate syntax highlighting in a manner consistent with the SystemTap language server
- Help SystemTap script authors avoid parser errors
- Provide a rich concrete syntax tree
- Strike an intuitive balance between tree-sitter and SystemTap conventions
- Literals
- Comments
- Variable declarations
- Expressions
- Statements
- Function definitions
- Probe point definitions and aliases
- Conditional preprocessing
- Preprocessor macro definitions and expansions
- Embedded C
tree-sitter-systemtap is free and open source software licensed under the MIT license.
tree-sitter-systemtap takes after work done by Max Brunsfeld for tree-sitter’s C grammar and Vasil Markoukin for tree-sitter-tlaplus.