Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apertium/tree-sitter-apertium
tree-sitter parsers for various Apertium file formats
https://github.com/apertium/tree-sitter-apertium
Last synced: about 2 months ago
JSON representation
tree-sitter parsers for various Apertium file formats
- Host: GitHub
- URL: https://github.com/apertium/tree-sitter-apertium
- Owner: apertium
- License: gpl-3.0
- Created: 2021-02-02T16:39:19.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-16T22:45:27.000Z (over 1 year ago)
- Last Synced: 2024-05-21T14:31:56.226Z (8 months ago)
- Language: C
- Size: 1.42 MB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-apertium
This repository contains tree-sitter parsers for the various non-XML file formats used in Apertium.
## Requirements
### Parsers
* `npm`
* [`tree-sitter`](https://github.com/tree-sitter/tree-sitter) CLI
* a C compiler```bash
npm install tree-sitter-cli
```### Python bindings
#### Runtime dependencies
* [tree-sitter Python bindings](https://github.com/tree-sitter/py-tree-sitter)
```bash
pip3 install tree_sitter
```#### Build dependencies
* `setuptools`
* on Linux, `auditwheel` and `patchelf````bash
pip3 install auditwheel setuptools
apt install patchelf
```## Compiling
To compile everything, run
```bash
make
```To compile only the parsers and not the Python bindings, run
```bash
make langs
```