Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown language code for template for syllabus for ktu #65

Open
1 task done
AKN414-IND opened this issue May 23, 2024 · 0 comments
Open
1 task done

markdown language code for template for syllabus for ktu #65

AKN414-IND opened this issue May 23, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@AKN414-IND
Copy link

AKN414-IND commented May 23, 2024

What would you like added?
1)why not add a template for syllabus for ktu as all are same here is the markdown language code for the mentioned template
Would you like to be assigned to this issue?
Check the box if you will submit a PR to add the proposed content. Please read CONTRIBUTING.md.

  • Assign me, please!

Code for template


# CST 302 - COMPILER DESIGN

**Category:** PCC  
**Lecture:** 3 | **Tutorial:** 1 | **Practical:** 0 | **Credit:** 4  
**Year of Introduction:** 2019

## Syllabus

### Module 1 - Introduction to compilers and lexical analysis
- Analysis of the source program
  - Analysis and synthesis phases
  - Phases of a compiler
- Compiler writing tools
- Bootstrapping
- Lexical Analysis
  - Role of Lexical Analyzer
  - Input Buffering
  - Specification of Tokens
  - Recognition of Tokens

### Module 2 - Introduction to Syntax Analysis
- Role of the Syntax Analyzer
  - Syntax error handling
- Review of Context-Free Grammars
  - Derivation and Parse Trees
  - Eliminating Ambiguity
  - Basic parsing approaches
  - Eliminating left recursion
  - Left factoring
- Top-Down Parsing
  - Recursive Descent parsing
  - Predictive Parsing
  - LL(1) Grammars

### Module 3 - Bottom-Up Parsing
- Handle Pruning
- Shift Reduce parsing
- Operator precedence parsing (Concept only)
- LR parsing
  - Constructing SLR, LALR, and canonical LR parsing tables

### Module 4 - Syntax directed translation and Intermediate code generation
- Syntax directed translation
  - Syntax directed definitions
  - S-attributed definitions
  - L-attributed definitions
- Bottom-up evaluation of S-attributed definitions
- Run-Time Environments
  - Source Language issues
  - Storage organization
  - Storage-allocation strategies
- Intermediate Code Generation
  - Intermediate languages
  - Graphical representations
  - Three-Address code
  - Quadruples
  - Triples

### Module 5 - Code Optimization and Generation
- Code Optimization
  - Principal sources of optimization
  - Machine dependent and machine independent optimizations
  - Local and global optimizations
- Code generation
  - Issues in the design of a code generator
  - Target Language
  - A simple code generator

## Textbooks
1. Aho A.V., Ravi Sethi, and D. Ullman. "Compilers – Principles Techniques and Tools," Addison Wesley, 2006.

## Reference Books
1. D.M.Dhamdhere. "System Programming and Operating Systems," Tata McGraw Hill & Company, 1996.
2. Kenneth C. Louden. "Compiler Construction – Principles and Practice," Cengage Learning Indian Edition, 2006.
@AKN414-IND AKN414-IND added the help wanted Extra attention is needed label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant