Category Archives: Compiler Design

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? filter_none edit close play_arrow link brightness_4 code #include <stdio.h> #include <stdlib.h>    int main() {… Read More