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
Lexical Analysis the source text is converted to type and value tokens.
Parsing the source tokens are converted to an abstract syntax tree (AST).