Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkgstore-old/linux-rpm-tree-sitter
https://github.com/pkgstore-old/linux-rpm-tree-sitter
linux pkgstore rpm rpm-package rpm-packages rpm-spec tree-sitter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pkgstore-old/linux-rpm-tree-sitter
- Owner: pkgstore-old
- License: mit
- Created: 2021-07-04T09:39:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-31T08:29:45.000Z (almost 3 years ago)
- Last Synced: 2024-02-23T11:54:35.979Z (11 months ago)
- Topics: linux, pkgstore, rpm, rpm-package, rpm-packages, rpm-spec, tree-sitter
- Size: 2.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Tree-sitter
**Tree-sitter** is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. Tree-sitter aims to be:
- **General** enough to parse any programming language.
- **Fast** enough to parse on every keystroke in a text editor.
- **Robust** enough to provide useful results even in the presence of syntax errors.
- **Dependency-free** so that the runtime library (which is written in pure C) can be embedded in any application.## Install
### Fedora COPR
```
$ dnf copr enable pkgstore/tree-sitter
$ dnf install -y tree-sitter
```### Open Build Service (OBS)
```
# Work in Progress
```## Update
```
$ dnf upgrade -y tree-sitter
```## Remove
```
$ dnf erase -y tree-sitter
$ dnf copr remove pkgstore/tree-sitter
```## How to Build
1. Get source from [src.fedoraproject.org](https://src.fedoraproject.org/rpms/tree-sitter).
2. Write last commit SHA from [src.fedoraproject.org](https://src.fedoraproject.org/rpms/tree-sitter) to [CHANGELOG](CHANGELOG).
3. Modify & update source (and `*.spec`).
4. Build SRPM & RPM.