tree-sitter-apertium
This repository contains tree-sitter parsers for the various non-XML file formats used in Apertium.
Requirements
Parsers
npm
-
tree-sitter
CLI - a C compiler
npm install tree-sitter-cli
Python bindings
Runtime dependencies
pip3 install tree_sitter
Build dependencies
setuptools
- on Linux,
auditwheel
andpatchelf
pip3 install auditwheel setuptools
apt install patchelf
Compiling
To compile everything, run
make
To compile only the parsers and not the Python bindings, run
make langs