Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Building a programming language live: it’s time for the parser

DEV Community·Unicorn Developer·26 days ago
#jn1UQhj8
Reading 0:00
15s threshold

Ever wondered how a parser works? Good news: in this session, we’ll cover exactly that, and build our own expression parser live. Join the new webinar: Let’s make a programming language. Parser on May 21 Previously, we implemented a lexer: the component that takes raw input and turns it into a sequence of tokens. The recording of that session is coming soon to our website and YouTube channel . The parser takes that stream of tokens and gives it structure. This is where the grammar of your language really comes to life (if you missed our session on grammars, you can check it out here .) In our experience, every parser starts with one thing: parsing expressions — so that’s exactly where we’ll begin. We’ll explain what a parser is, walk through the recursive descent approach, and show how to build your own expression parser step by step. Our speaker, Yuri Minaev , is an experienced C++ developer and static analyzer architect at PVS-Studio.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More