BSD Ports

devel/py-libcst 1.7.0 DragonFly

Concrete syntax tree with AST-like properties

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
2006.0 KiB, 15235.1 KiB installed

Description

LibCST is a Concrete Syntax Tree (CST) parser and serializer library for Python.

LibCST parses Python source code as a CST tree that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful for building automated refactoring (codemod) applications and linters.

LibCST creates a compromise between an Abstract Syntax Tree (AST) and a traditional Concrete Syntax Tree (CST). By carefully reorganizing and naming node types and fields, we've created a lossless CST that looks and feels like an AST.

In the other systems

SystemPortVersion
DragonFlydevel/py-libcst1.7.0
FreeBSDdevel/py-libcst1.9.0_2
OpenBSDdevel/py-libcst1.8.6
MidnightBSDdevel/py-libcst1.8.6_1
HardenedBSDdevel/py-libcst1.9.0_1
GhostBSDdevel/py-libcst1.9.0_1

Install

Binary package:

pkg install py311-libcst

From DPorts:

cd /usr/dports/devel/py-libcst && make install clean

Dependencies

Run dependencies 2