Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Tree-sitter - A New Parsing System for Programming Tools

Strange Loop Conference via YouTube

Overview

Explore a conference talk on Tree-sitter, a revolutionary parsing system designed to enhance programming tools. Dive into the capabilities of this system, which provides a uniform C API for parsing multiple languages with high-performance incremental parsing and robust error recovery. Learn how Tree-sitter is being integrated into GitHub.com and the Atom text editor to improve code analysis, syntax highlighting, navigation, and refactoring. Discover the interesting algorithms behind Tree-sitter, including LR and GLR parsing techniques, and gain insights into its potential future applications. Understand how this system aims to overcome the limitations of regex-based code analysis in multi-language developer tools, offering real-time parsing capabilities for text editors.

Syllabus

Introduction
What is Treesitter
Syntax Highlighting
Code Folding
Extend Selection
How Treesitter works
Algorithms
LR parsing
Is LR parsing good for all languages
GLR parsing
Incremental parsing

Taught by

Strange Loop Conference

Reviews

Start your review of Tree-sitter - A New Parsing System for Programming Tools

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.