Our website uses cookies to enhance your browsing experience.
Accept
to the top
dev
C++

Let's make a programming language

In the live-coding sessions, Yuri Minaev, an architect at PVS-Studio, walks through the entire process of building a toy programming language in C++. You'll get a clear sense of what a programming language actually is and how to describe it formally so a machine can understand it. Step by step, you'll build your own language: implementing a lexer, revisiting formal grammar basics and recursive descent parser, adding variables and functions, learning how to call them and correctly determine return types, and wrapping it all by writing your own evaluator. If you've ever been curious about language design and wondered what's actually happening under the hood of a programming language, this one is for you.

Course img

What you’ll learn in this course

Why enroll

  • A clear picture of how programming languages work and how a computer makes sense of our instructions.
  • A lexer that you write yourself.
  • A refresher on formal grammars and hands-on practice with a recursive descent parser.
  • Variables and functions added to your own language.
  • A working grasp of function calls and return type deduction.
  • An evaluator of your own, written by the end of the course.

Be the first to hear about new courses

Only what matters, no noise.

Go to lessons

Log in or sign up to access the course lessons.

Webinars not your thing? Try static analysis!

Try for free