COSCUP 2025

Generating and Navigating through Language Parse Trees using Python and tree-sitter
2025/08/09 , TR410

Have you ever wondered how syntax highlighting in text editors, such as Neovim and Zed, work in a blazingly fast manner?

"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."

This talk will cover tree-sitter, why it matters and how it works, and extracting information from its abstract syntax trees by querying using its Python language bindings, py-tree-sitter. Discover the technology behind


対象となる参加者:

intermediate Python programmers

難易度:

中階