Forest: Structural Code Editing with Multiple Cursors
Offered By: ACM SIGPLAN via YouTube
Course Description
Overview
Explore a novel approach to code refactoring in this 35-minute conference talk from ACM SIGPLAN. Dive into Forest, a structural code editor that bridges the gap between interactive code editors and expressive refactoring scripts. Learn about its unique structural multi-cursor design, enabling complex refactorings by performing simultaneous actions across multiple program locations. Discover how Forest combines the interactivity of text-based editors with the power of tree-based program manipulation. Examine the evaluation of Forest's capabilities in performing edits from real-world refactoring scripts and understand its potential for small-scale specialized refactorings. Gain insights into the motivation behind Forest, its comparison with find-replace and multi-cursor text editors, and its hierarchical cursor system. Conclude with a summary of Forest's strengths and potential impact on structural editing for code refactoring.
Syllabus
Motivation
Find-replace with regular expressions
Multi-cursor text editor
AST-based refactoring scripts
Multi-cursor features of Forest
Hierarchy of cursors
Evaluation
Summary
Taught by
ACM SIGPLAN
Related Courses
Building Your Own Programming LanguageFrontend Masters Abstract Syntax Trees
egghead.io React Applications Structure Analysis Using AST - React.js Conf 2015
Meta via YouTube Defending against PowerShell Attacks
YouTube Compilers - Jared Shumway
White Hat Cal Poly via YouTube