Skip to content

Category Archives: Compiler Design

Evaluation order for SDD includes how the SDD(Syntax Directed Definition) is evaluated with the help of attributes, dependency graphs, semantic rules, and S and L… Read More
Optimization is applied to the basic blocks after the intermediate code generation phase of the compiler. Optimization is the process of transforming a program that… Read More
In this, we will cover the overview of Predictive Parser and mainly focus on the role of Predictive Parser. And will also cover the algorithm… Read More
1. Source Code : Source code refers to high level code or assembly code which is generated by human/programmer. Source code is easy to read… 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
FLEX (Fast Lexical Analyzer Generator) is a tool/computer program for generating lexical analyzers (scanners or lexers) written by Vern Paxson in C around 1987. Lex… Read More
Given some numbers, task is to identify the positive and negative numbers and print the count of negative and positive numbers. Prerequisite: Flex (Fast lexical… Read More
Prerequisite – Introduction to Syntax Analysis, Syntax Directed Translation Syntax Directed Definition (SDD) is a kind of abstract specification. It is generalization of context free grammar… Read More
1. What will be the output of the following code?   C #include <stdio.h> #include <stdlib.h>   int main() {     union test {         int i;         float… Read More

Start Your Coding Journey Now!