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

YouTube

Code Style Sheets - CSS for Code

ACM SIGPLAN via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Watch a 14-minute conference presentation from OOPSLA 2025 that introduces code style sheets, a novel approach to styling program text inspired by CSS for HTML documents. Explore how researchers Sam Cohen and Ravi Chugh from the University of Chicago propose moving beyond the limited typographic styles currently used in code editors, which rely primarily on font choices and syntax highlighting colors applied uniformly regardless of program context. Learn about their selector language that generalizes CSS constructs to programming language settings with algebraic data types, enabling granular styling of abstract syntax trees based on semantic information including program structure, static type information, and runtime values. Discover their specialized layout algorithm designed to render nested, multiline text blocks more compactly than traditional HTML box-based systems, addressing the heavily nested structure inherent in programming languages. Examine practical demonstrations using a Haskell subset implementation that showcases various code presentation and visualization tasks, illustrating how code style sheets provide a unified framework for rendering programs in multiple ways suitable for both text-based and structure editors.

Syllabus

[OOPSLA'25] Code Style Sheets: CSS for Code

Taught by

ACM SIGPLAN

Reviews

Start your review of Code Style Sheets - CSS for Code

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.