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

YouTube

Automated Ambiguity Detection in Layout-Sensitive Grammars

ACM SIGPLAN via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 17-minute video presentation from OOPSLA2 2023 conference that delves into automated ambiguity detection in layout-sensitive grammars. Learn about the novel approach developed by researchers from Tsinghua University to tackle this challenging problem in programming language design. Discover how they extend previous work on context-free grammar ambiguity detection to layout-sensitive grammars using SMT solving. Understand the key innovation of a reachability condition that carefully considers layout constraints' impact on ambiguity. Gain insights into the equivalent ambiguity notion called local ambiguity and its SMT encoding. See how the researchers developed a bounded ambiguity checker to find the shortest nonempty ambiguous sentence in user-input grammars. Examine the evaluation results on grammar fragments and full grammars from languages like YAML and Python, demonstrating the effectiveness of this approach. The presentation also covers the mechanized soundness and completeness proofs in the Coq proof assistant, providing a robust theoretical foundation for the work.

Syllabus

[OOPSLA23] Automated Ambiguity Detection in Layout-Sensitive Grammars

Taught by

ACM SIGPLAN

Reviews

Start your review of Automated Ambiguity Detection in Layout-Sensitive Grammars

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.