Skip to content

Category Archives: Compiler Design

Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Transition diagram is a special kind of flowchart for language analysis. In transition diagram the boxes of flowchart are drawn as circle and called as… Read More
Lex is a computer program that generates lexical analyzers and was written by Mike Lesk and Eric Schmidt. Lex reads an input stream specifying the… Read More
We already know about all the Phases of Compiler design, now the Compiler Passes.  A Compiler pass refers to the traversal of a compiler through… Read More
A top-down parser builds the parse tree from the top down, starting with the start non-terminal. There are two types of Top-Down Parsers:  Top-Down Parser… Read More
Lex is a computer program that generates lexical analyzers. Lex reads an input stream specifying the lexical analyzer and outputs source code implementing the lexer… Read More
Lex is a computer program that generates lexical analyzers and was written by Mike Lesk and Eric Schmidt. Lex reads an input stream specifying the… Read More
Labeling algorithm is used by compiler during code generation phase. Basically, this algorithm is used to find out how many registers will be required by… Read More
As defined by C standards, the for loop syntax is: for (initialisation; condition; increment/decrement) ... Syntactically, there should be two semicolons, one opening parenthesis, one… Read More
Lex is a computer program that generates lexical analyzers and was written by Mike Lesk and Eric Schmidt. Lex reads an input stream specifying the… Read More
Loader is the program of the operating system which loads the executable from the disk into the primary memory(RAM) for execution. It allocates the memory… Read More
Prerequisite: Symbol Table A Symbol table is a data structure used by the compiler, where each identifier in program’s source code is stored along with… Read More

Start Your Coding Journey Now!