Please enable JavaScript.
Coggle requires JavaScript to display documents.
Compiler - Coggle Diagram
Compiler
Translation Schemes
Interpreter
Load And Go
Macro Assembler
Compiler
One Pass
Muli-Pass
Load And Go Compiler
Just-In-Time Compiler
Optimizing Compiler
Assembler
Parsing
Syntax Directed Translation
Attributes
Synthesized Attributes
Attributes derived from attributes of children and self
Annotated Parse Tree
Inherited Attributes
Attributes derived from attributes of parent, siblings and self
Translation Schemes
Semantic Rules
Rules to
Program Fragments
Semantic Actions
Program Fragments embedded within production bodies
Grammar + Semantic Rules = Syntax Directed Translation
Types of Parsers
Bottom Up
Top Down
Recursive Descent Parser
Back-Tracking
Non-Back-Tracking
Predictive
LL
Concrete Syntax Tree
Acceptor
Finite State Machine
Stack
Componets
Phases
Syntax Analysis
Optimization
Machine Independent
Machine Dependent
Lexical Analysis
Machine Code Generation
Pre-Processing
Semantic Analysis
IR Generation
Parts
Front End
Back End
Grammars
Context Free Grammar
Non-Terminals
Productions
Terminals
Start symbols
Regular Grammar
Left Linear
Right Linear
Syntax & Semantics
Semantics
What programs mean
Syntax
Proper form of programs
Expressed using CFG(BNF)
LLVM
Optimization
PassManager
Tools
Lexers
lex
Input Format
Sections
Rules
Patterns
Actions
Types
Replacing one token with another
Counting the number of instances of a token or token type
Recording the token type found and its value
ECHO
1 more item...
C-Program fragments
Matched string stored in yytext
User's sub-routines written in C
Definitions
Patters
digit [0-9]
letter [A-Za-z]
Variables
%{
int count;
%}
Sections separated by %%
Predefined variables and functions
int yywrap(void)
FILE *yyout
yylval
FILE *yyin
yyleng
INITIAL
char *yytext
BEGIN
int yylex(void)
ECHO