- Front-End: Source-language dependent. Consists of Lexical Analysis, Syntax Analysis, Semantic Analysis, and Intermediate Code Generation.
- Back-End: Target-machine dependent. Consists of Intermediate Code Optimization and Target Code Generation.
Compiler Design - Lexical Analysis, Parsing & Intermediate Code Generation
Master the core phases of compiler design, including lexical tokenization, finite automata, context-free grammars, parsing algorithms, and intermediate representation generation.
Cards in this deck
(21 cards)Preview terms and definitions before starting your study session.
- Token: An abstract category returned by the scanner (e.g.,
id,num,if). - Lexeme: The actual character string in the source code matching a token (e.g.,
total,42). - Pattern: The formal rule (usually a Regular Expression) describing how a lexeme is formed.
- Nondeterministic Finite Automata (NFA): Can have -transitions (spontaneous state changes) and multiple outgoing transitions for a single input character from a given state.
- Deterministic Finite Automata (DFA): Has no -transitions and exactly one deterministic transition per input character for each state. Preferred for fast run-time lexical analysis.
- Thompson's Construction: Converts a Regular Expression into an equivalent NFA.
- Subset Construction (Powerset Construction): Converts an NFA into an equivalent DFA by mapping NFA state sets to individual DFA states.
- : Non-terminals
- : Terminals
- : Production rules of the form ()
- : Start symbol
Related Flashcard Sets
Explore similar study materials created by the community
HSK 1 - Basic Chinese Vocabulary, Pinyin & Character Recognition
Master foundational Mandarin Chinese with this HSK 1 flashcard deck covering essential vocabulary, Pinyin pronunciation rules, tones, and core sentence patterns.
Functional Programming - Immutability, Pure Functions & Higher-Order Functions
Unlock the power of Functional Programming! Master immutability, pure functions, and higher-order functions to write predictable, testable, and concurrent code with this comprehensive flashcard deck.
Neuroscience - Neuroanatomy & Brain Function
Master high-yield neuroanatomy and functional neuroscience concepts with this comprehensive study deck. Perfect for medical students and biology majors covering brain regions, cranial nerves, neuronal action potentials, and major pathways.
Microsoft Azure Administrator (AZ-104) - Compute, Storage & Networking
Master core AZ-104 certification concepts including Microsoft Entra ID, Azure Storage, Virtual Networks, Virtual Machines, and Azure Monitoring with this high-yield flashcard deck.