Coding a C compiler in Javascript
Learn all steps of compiler design in one course, and learn to write a C compiler in Javascript.

0
students
18.5 hours
content
Aug 2025
last update
$89.99
regular price
What you will learn
Learn how to write a lexer which turns the C code into tokens, the smallest atomic parts of a programming language.
Learn how to write a code generator, which takes your AST as input and emits a complete Assembly program that you turn into an executable .EXE or .ELF file.
Learn to write a parser which parses the C code, through the tokens, and turning it into a data structure your program understands.
Extra: Learn to create your own regular expression library that works not just with strings, but with any datatype as input.
Learn to create an abstract syntax tree (AST), the primary data structure of any compiler.
Extra: Learn how to write a transpiler (or pre-compiler) which adds functionality to Javascript itself.
Extra: You will also learn the basics and intermediates of Typescript, a popular Javascript add-on.
Everything you learn about compilers in this course, will work with any languages, not just Javascript and C.
Course Gallery




Loading charts...
6738385
udemy ID
24/07/2025
course created date
03/08/2025
course indexed date
Bot
course submited by