--------------------------------------------------------------------------------------------------------------------------
SP Practicals
-------------------------------------------------------------------------------------------------------------------------
- Write a program to implement the lexical analyzer.
- Write a Lexical Analyzer (using lex utility for UNIX).
- Write a program to left factor the given grammar.
- Write a program to remove the Left Recursion from a given grammar.
- Write a program to find FIRST of given grammer.
- Write a program to find FOLLOW of given grammer.
- Implement Recursive Descendent Parsing for the given Grammar.
E -> T + E / T
T -> F * T / F
F -> ( E ) / i - Implement Predictive Parsing for the given Grammar.
E -> T + E / T
T -> F * T / F
F -> ( E ) / i - Use macro features for C language.
- Write a program to implement Pass – 2 of Assembler.
0 comments:
Post a Comment