Constructing a Parser in Compiler Design

In this article, we will be constructing a recursive descent parser for the Kaleidoscope programming language in Compiler Design.

Table of contents.Introduction.The parser.Summary.References.Prerequisites.Building a lexerIntroduction.

Parsing in compiler design gets its input from the lexer which produces tokens given a high-level programming language as input.

Parsing can be divided into two types, the first is bottom-up and the other in top-down parsing.

Top-down parsing.
It is also...

 •  0 comments  •  flag
Share on Twitter
Published on May 01, 2022 11:31
No comments have been added yet.