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

YouTube

Fast and Easy ASTs for Flexible Embedded Interpreters

ACM SIGPLAN via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore a conference presentation that demonstrates how abstract syntax trees can be efficiently incorporated into embedded interpreter source code across multiple programming languages. Learn about a novel engineering approach that enables textually identical ASTs to remain valid across diverse contemporary programming languages, from Java and JavaScript to Haskell, Swift, and even Excel. Discover how this technique addresses the bootstrapping challenges faced by traditional AST-based systems, particularly when portability across multiple host systems is required. Examine the key insight that carefully engineered AST formats can enable language self-hosting with minimal bootstrapping infrastructure, requiring only the host interpreter or compiler and a basic default library while importing the rest of the system as ASTs. Analyze the engineering design tradeoffs necessary for practical implementation and review validation through the ongoing development of GraceKit, which successfully shares a single Grace parser across multiple host language implementations. Understand how this approach offers advantages over bytecode interpreters and image-based systems for creating flexible, portable language implementations in embedded environments.

Syllabus

[MPLR'25] Fast & Easy ASTs for Flexible Embedded Interpreters

Taught by

ACM SIGPLAN

Reviews

Start your review of Fast and Easy ASTs for Flexible Embedded Interpreters

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.