COMPUTER SCIENCE
& ENGINEERING
B. E. SEMESTER: V
Subject Name: System
Programming
Subject Code: 2150708
1.
|
Write a program to
implement the lexical analyzer.
|
2.
|
Write a Lexical
Analyzer (using lex utility for UNIX).
|
3.
|
Write a program to
left factor the given grammar.
|
4.
|
Write a program to remove the Left Recursion from
a given grammar.
|
5.
|
Aim: Implement Recursive Descendent Parsing for
the given Grammar.
E -> T + E / T
T -> F * T / F
F -> ( E ) / i
|
6.
|
Implement Predictive
Parser for the given grammar.
E -> T + E / T
T -> F * T / F
F -> ( E ) / i
|
7.
|
Write a SAL program
in text file and generate SYMTAB and LITTAB.
|
8.
|
Use macro features of
C language.
|
9.
|
Write a program which
generates Quadruple Table for the given postfix String.
|
10.
|
Write a C program to parse a given string using
Predictive parsing for given grammar.
type → simple | ↑id | array [ simple ] of type
simple → integer | char | num dotdot num
|
No comments:
Post a Comment