compiler-construction Basics of Compiler Construction

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

This topic will contain all the basics in compiler construction that you will need to know so that you can get started in making your own compiler. This documentation topic will contain the first 2 out of 4 sections in compiler constructions and the rest will be in a different topic.

The topics which will be covered are:

Lexical Analysis

Parsing

Syntax

  • Lexical Analysis the source text is converted to type and value tokens.

  • Parsing the source tokens are converted to an abstract syntax tree (AST).



Got any compiler-construction Question?