Skip to content

feat(cd): Add comprehensive notes and components for Semester 5 Compi…#120

Open
roshankumar0036singh wants to merge 2 commits into
pushkarscripts:mainfrom
roshankumar0036singh:feature/cd-unit1
Open

feat(cd): Add comprehensive notes and components for Semester 5 Compi…#120
roshankumar0036singh wants to merge 2 commits into
pushkarscripts:mainfrom
roshankumar0036singh:feature/cd-unit1

Conversation

@roshankumar0036singh
Copy link
Copy Markdown
Contributor

@roshankumar0036singh roshankumar0036singh commented May 21, 2026

Pull Request Description

PR Title: feat(cd): Add comprehensive notes and components for Semester 5 Compiler Design Unit 1

Description

This Pull Request introduces full, comprehensive coverage for Unit 1: Introduction to Compilers & Lexical Analysis under Semester 5 of the openCSE website, following the repository's established conventions and styling.

realted to #86

Key Changes

  1. Subject Registration: Activated the "cd" subject identifier inside app/components/subjects.tsx to enable navigation to Compiler Design from the homepage.
  2. Interactive UI Component: Implemented ExpandingBox.tsx under app/sem5/cd/components/ to handle accordion-style sections for step-by-step algorithms, solved problems, and detailed proofs with smooth CSS height transitions.
  3. Architecture & Shell: Established custom layout.tsx, interactive sidebar.tsx, dynamic pagination router [chapter]/page.tsx, and structure mappings in constants.ts.
  4. Detailed Notes Content: 11 distinct module files covering:
    • Introduction: Compilers vs Interpreters, Compiler types.
    • Phases of a Compiler: Structural trace of result = a + b * 2;.
    • Writing Tools: Lex/Flex, Yacc/Bison, ANTLR, LLVM.
    • Lexical Analysis: Patterns, lexemes, tokens, and buffer pairs.
    • Bootstrapping: Tombstone (T) Diagrams, cross compilers, Canadian Cross.
    • Finite Automata: Thompson's Construction, NFA-to-DFA Subset Construction, DFA Minimization (Myhill-Nerode), and a step-by-step solved problem.

Verification Details

  • Successfully built in production mode using npm run build.
  • Zero linting errors and zero TypeScript errors detected in the new and modified modules.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 21, 2026

@roshankumar0036singh is attempting to deploy a commit to the PushkarScripts Team on Vercel.

A member of the Team first needs to authorize it.

@roshankumar0036singh
Copy link
Copy Markdown
Contributor Author

@pushkarscripts plz verify the chnages for unit 1 of cd

@roshankumar0036singh
Copy link
Copy Markdown
Contributor Author

@pushkarscripts added complete detailed notes with example and a solved problem for bettrer underdstanding and everything is given very detailed

@roshankumar0036singh
Copy link
Copy Markdown
Contributor Author

also removed the some of dead code in the quiz to remove mostly lint errros

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant