Towards Editing Programs via Abstract Syntax Trees
Room B | Tue 21 Jan 1:30 p.m.–2:15 p.m.
Presented by
-
Clinton is an open source software engineer who has made a career out of supporting researchers.
Clinton is an open source software engineer who has made a career out of supporting researchers.
Abstract
Computer programs are typically written one character at a time, then
parsed by a compiler into Abstract Syntax Trees, then these trees are
turned into the target form of the program.
The tree-sitter library makes it possible for programmers to access
these high level Abstract Syntax Trees through their editor,
making it possible to manipulate their source directly through
Abstract Syntax Trees.
This talk will explain how tree-sitter works, how the two main Unix
editors use them, and explore the powerful editing that makes
possible.
Computer programs are typically written one character at a time, then parsed by a compiler into Abstract Syntax Trees, then these trees are turned into the target form of the program. The tree-sitter library makes it possible for programmers to access these high level Abstract Syntax Trees through their editor, making it possible to manipulate their source directly through Abstract Syntax Trees. This talk will explain how tree-sitter works, how the two main Unix editors use them, and explore the powerful editing that makes possible.