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

YouTube

Gradual Grammars: Syntax in Levels and Locales

ACM SIGPLAN via YouTube

Overview

Explore a 22-minute conference talk from ACM SIGPLAN on Fabric, a grammar formalism supporting gradual syntax extension and internationalization. Learn how Fabric enables programming language implementations to cater to diverse user backgrounds and proficiency levels. Discover the formalism's design, implementation on the LARK parser generator, and integration with the Rascal language workbench. Examine case studies on the Hedy gradual programming language and Rebel2 DSL, demonstrating Fabric's effectiveness in representing language levels and internationalization. Gain insights into the principles of gradual syntax definition in levels and locales, addressing the challenges of creating more inclusive and adaptable programming languages.

Syllabus

Intro
Fabric: syntax definition in levels and locales
Fabric by example: reference grammars
Generated LARK files
Internationalization with Fabric grammars
Stitching fabric grammars
Simulating levels in Rascal
Simulating Fabric grammars in Rascal
Grammar stitching
Parsing using the internationalized grammar
Parse tree unraveling
Evaluation: Hedy'
Evaluation: Rebel2 in Dutch (Rascal embedding)
Gradual grammars: syntax in levels and locales

Taught by

ACM SIGPLAN

Reviews

Start your review of Gradual Grammars: Syntax in Levels and Locales

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.