Project: Coding Your Own Html Language In C
Published 3/2025
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 7.09 GB | Duration: 14h 36m
Published 3/2025
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 7.09 GB | Duration: 14h 36m
A real-world project for mid-level C coders who want to reach the next level and learn how to create your own language.
What you'll learn
Learn how to write a lexer/tokenizer, transforming the source language into your own datastructures (tokens).
Learn how to structure the grammar of the source language in Backus/Naur form.
Learn how to use the lexer and the grammar to parse the source language tokens into a suitable datastructure.
Learn how to write your own garbage collector to clean up memory allocations.
Learn how to use this project in your own portfolio (you're allowed to!) in order to get a developer job.
Requirements
You need to have a basic understanding of C. So first do the beginner course and then this one.
Description
Today we begin developing our own HTML language in C.About the courseWe will eventually use it to create console based graphical user interfaces for C applications and we'll also write our own CSS eventually. In the first episode we'll focus on getting everything prepared for the HTML parser and we're going to take influences from the functional style of writing code and also from our compiler episode.The techniques taught in this course is not only useful for HTML. Everything is applicable no matter what kind of programming language you wish to create, or any existing language you want to parse. For instance, you can write your own C compiler or invent your own programming language. All you need is some basic C programming skills and the contents of this course.You will learn how to code a lexer, which will turn the code into tokens, the smallest atomic part of any programming language. Then you will define the grammar according to the format taught in this course (bnf). The third step is to parse the tokens according to the language, by writing a recursive functional parser. And the final step is using your code, like rendering web pages (html), emitting assembly or machine code (c compiler) etc.About the authorDr. Jonas is an experienced instructor who's been coding C for 25 years and teaching it for 7 years. His popular Youtube channel has 35 000 subscribers and he's also running his own TV channel with programming content. He's an appreciated teacher with stunning reviews and several C programming courses of different kind.Enroll Today! Or check out the free previews.
Overview
Section 1: Code your own HTML language in C
Lecture 1 Introduction
Lecture 2 Episode one: Preparing the project
Lecture 3 Episode two: Writing some useful utility functions
Lecture 4 Episode three: Writing your own Garbage Collector (GC)
Lecture 5 Episode four: Preparing for the lexer
Lecture 6 Episode five: Writing a lexer/tokenizer for HTML
Lecture 7 Episode six: Preparing for the parser
Lecture 8 Episode seven: Coding a functional HTML parser in C
Lecture 9 Episode eight: Defining the language grammar in BNF (Backus/Nauer form)
Mid-level C programmers, who's done the beginner stuff and wishes to take the next step by coding a real project.