https://github.com/ok-ryoko/tree-sitter-systemtap
SystemTap grammar for tree-sitter
https://github.com/ok-ryoko/tree-sitter-systemtap
parser systemtap tree-sitter
Last synced: 4 months ago
JSON representation
SystemTap grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/ok-ryoko/tree-sitter-systemtap
- Owner: ok-ryoko
- License: mit
- Created: 2023-07-08T17:41:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T18:57:09.000Z (almost 2 years ago)
- Last Synced: 2026-01-13T03:40:13.043Z (5 months ago)
- Topics: parser, systemtap, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 875 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# tree-sitter-systemtap
[SystemTap] grammar and queries for [tree-sitter] as interpreted by [Ryoko] from the SystemTap v4.8 man pages, language reference, tapsets and test suite
## Objectives
- 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
## Language feature checklist
- [x] Literals
- [x] Comments
- [x] Variable declarations
- [x] Expressions
- [x] Statements
- [x] Function definitions
- [x] Probe point definitions and aliases
- [x] Conditional preprocessing
- [x] Preprocessor macro definitions and expansions
- [x] Embedded C
## License
tree-sitter-systemtap is free and open source software licensed under the [MIT license][license].
## Acknowledgements
tree-sitter-systemtap takes after work done by [Max Brunsfeld] for [tree-sitter’s C grammar][tree-sitter-c] and [Vasil Markoukin] for [tree-sitter-tlaplus].
[license]: ./LICENSE.txt
[Max Brunsfeld]: https://github.com/maxbrunsfeld
[Ryoko]: https://github.com/ok-ryoko
[SystemTap]: https://sourceware.org/systemtap/
[tree-sitter-c]: https://github.com/tree-sitter/tree-sitter-c
[tree-sitter-tlaplus]: https://github.com/tlaplus-community/tree-sitter-tlaplus
[tree-sitter]: https://github.com/tree-sitter/tree-sitter
[Vasil Markoukin]: https://github.com/susliko