Parse and analyze source codes with Tree-sitter

Speaker : Maxime Mouchet
Date: 01/03/2023
Time: 10:30 am - 11:30 am
Location: Room 4B01

Abstract

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.