Libraries tagged by concrete-syntax-tree
phpsyntax/phpsyntax
12 Favers
5191 Downloads
5191 Downloads
🌳 PhpSyntax: a lossless concrete syntax tree (CST) for PHP. Every token, space and comment is kept, so the tree prints back byte for byte and a tool changes only what it touches. Comes with a mutation API for refactoring tools and formatters.
mougrim/yaml-cst
3 Favers
8102 Downloads
8102 Downloads
PHP library for parsing and manipulating YAML documents while preserving format using Tree-sitter via FFI (Concrete Syntax Tree)