Building Your Own Programming Language

Building Your Own Programming Language

Learning Paths:
3 hours, 9 minutes CC

Learn the essential parts of programming language design! Through creating a new programming language, you’ll learn how to break down a program into its necessary elements: first into tokens through lexical analysis, and then into a traversable abstract syntax tree composed of those tokens. You’ll also write an interpreter, and learn how to transpile your language to JavaScript to make it runnable.

This course and others like it are available as part of our Frontend Masters video subscription.

Published: October 8, 2019
Get Unlimited Access Now
Table of Contents

Introduction

Parsing: Lexical Analysis

Parsing: Syntactic Analysis

REPL and CLI

Traversing and Transforming the AST

Language Features

Wrapping Up