Your roadmap · आपका रोडमैप
- 1
Admission & first meetingप्रवेश और पहली मुलाकातEnquire at your nearest NDSS centre, meet the teacher, fix the batch time and get your study material.
- 2
Work planकार्य योजनाStep by step with your guide / trainer.
Lexical Analysis in CLEX ProgramsYACC ProgramsParsing AlgorithmsIntermediate Code GenerationCode Optimisation
- 3
File, report & vivaफ़ाइल, रिपोर्ट और वाइवाPractical file / report checked, mock viva before the final one.
- 4
Online tests & resultऑनलाइन टेस्ट और रिज़ल्टTake the tests online; your marks and result show in your student login and at the centre.
सिलेबस · पाठ्यक्रम
1 subject · 6 chapters · 21 topics
01Lexical Analysis in C
3 टॉपिक+
- Lexical analyser for a subset of C
- Identifying keywords, identifiers, constants and operators
- Removing comments and white space
02LEX Programs
4 टॉपिक+
- LEX program structure
- Counting characters, words and lines
- Recognising identifiers and numbers
- Counting vowels and consonants
03YACC Programs
3 टॉपिक+
- YACC program structure
- Calculator with operator precedence
- Validating arithmetic expressions and variable names
04Parsing Algorithms
5 टॉपिक+
- Elimination of left recursion and left factoring
- FIRST and FOLLOW computation
- Predictive parsing table
- Shift-reduce parsing
- Recursive descent parser
05Intermediate Code Generation
3 टॉपिक+
- Infix to postfix conversion
- Three-address code generation
- Quadruples and triples
06Code Optimisation
3 टॉपिक+
- Constant folding
- Common sub-expression elimination
- Simple code generator for assembly-like target
About this course
आप यह कर पाएँगे
- Write a lexical analyser in C that identifies keywords, identifiers, operators and constants
- Write LEX programs for token recognition and counting
- Write YACC programs for expression evaluation and syntax checking
- Implement FIRST / FOLLOW, left recursion removal and predictive / shift-reduce parsing
- Generate three-address code, quadruples and triples for expressions
- Implement simple code optimisation techniques
यह किसके लिए है
- B.Tech Computer Science & Engineering students of Semester 6 (AKTU)
- Students of other universities studying the same subject who want unit-wise coaching
आपको क्या चाहिए
- Compiler Design theory of the same semester
- C programming on Linux with flex and bison / yacc installed
Online tests & result
Practice and unit tests online; marks and result show in your student login and at the centre.
Student login →
सवाल
Which syllabus does the Compiler Design Lab course follow?
It follows the AKTU (Dr. A.P.J. Abdul Kalam Technical University, Lucknow) B.Tech syllabus for Compiler Design Lab. If your own university's syllabus differs, the centre follows your university syllabus.
Will this help in the university examination?
Yes. Teaching is unit-wise as per the AKTU scheme, with previous-year question practice, MCQ tests and doubt sessions before the semester exam.
Can LEX and YACC be run on Windows?
Yes, with WinFlexBison or WSL, but Ubuntu Linux with flex and bison is recommended, as in most AKTU labs.