Skip to content

Category Archives: Compiler Design

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… Read More
1. What will be the output of the following code? #include <stdio.h> #include <stdlib.h>    int main() {     union test {         int i;         float f;… Read More