Parse and analyze source codes with Tree-sitter

When

01/03/2023    
10:30 am-11:30 am
Maxime Mouchet

Where

Room 4B01
19 place Marguerite Perey, Palaiseau

Event Type

Tree-sitter is a library for parsing source codes. Compared to similar libraries, Tree-sitter is very fast and dependency-free. This makes it easy to embed it in other programs, such as text editors, and use it for real-time applications, such as syntax highlighting. In this talk we will study Tree-sitter’s query language to search for patterns in syntax trees, and show how to use it from Python to analyze other programs.