devel/tree-sitter 0.25.5 MidnightBSD
Incremental parser generator
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/tree-sitter | 0.25.5 |
| FreeBSD | devel/tree-sitter | 0.27.1 |
| OpenBSD | textproc/tree-sitter | 0.27.0 |
| NetBSD | textproc/tree-sitter | 0.27.0 |
| DragonFly | devel/tree-sitter | 0.25.3 |
| HardenedBSD | devel/tree-sitter | 0.27.0 |
| GhostBSD | devel/tree-sitter | 0.27.0 |
| OPNsense | devel/tree-sitter | 0.26.9 |
Install
Binary package:
mport install tree-sitter
From mports:
cd /usr/mports/devel/tree-sitter && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tree-sitter>0:devel/tree-sitter
LIB_DEPENDS= libtree-sitter.so:devel/tree-sitter
Dependencies
Required by 1
Configuration
No options to configure.
- USES
- gmake
- Service scripts
- none
Files
pkg-plist 6
- include/tree_sitter/api.h
- lib/libtree-sitter.a
- lib/libtree-sitter.so
- lib/libtree-sitter.so.0
- lib/libtree-sitter.so.0.25
- libdata/pkgconfig/tree-sitter.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tree-sitter-tree-sitter-v0.25.5_GH0.tar.gz | 857428 | 17a72b9dd7525b01d8fabf9ebee0edd3203fe3058ccc73cbc5e2070ccbe26c0d |