BSD Ports

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

SystemPortVersion
MidnightBSDdevel/tree-sitter0.25.5
FreeBSDdevel/tree-sitter0.27.1
OpenBSDtextproc/tree-sitter0.27.0
NetBSDtextproc/tree-sitter0.27.0
DragonFlydevel/tree-sitter0.25.3
HardenedBSDdevel/tree-sitter0.27.0
GhostBSDdevel/tree-sitter0.27.0
OPNsensedevel/tree-sitter0.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
FileSizeSHA256
tree-sitter-tree-sitter-v0.25.5_GH0.tar.gz85742817a72b9dd7525b01d8fabf9ebee0edd3203fe3058ccc73cbc5e2070ccbe26c0d