Loading…
C++Now 2018 has ended
Thursday, May 10 • 11:00am - 12:30pm
From Parsing to sema: Making Sense of Syntax Trees

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
So you are writing a compiler, or an interpreter, or something else that uses a language that has to be analyzed, and you've managed to write a correct parser for your syntax, whichever way you chose to do that. Now what? When I've previously stumbled upon this question, when writing such code myself, I didn't really know the answer. I just started poking around the problem until I got something that worked. I've tried some ways that I hated, and I tried some ways that I ended up going with. This talk will take you on a journey that follows the approaches I tried, including some failures and some success stories, and while they aren't very numerous, I believe that looking at the challenges through the eyes of somebody else will help you when you're faced with similar design decisions yourself.

This talk is by no means meant to be a comprehensive guide to writing analyzers; it's meant to explain how I approached the challenge of making sense of a syntax tree, it's meant to be fun, and I also hope to learn from your experience in this field.

Speakers
avatar for Michał Dominiak

Michał Dominiak

System Software Engineer, Nvidia


Thursday May 10, 2018 11:00am - 12:30pm MDT
Bethe
  presentation