Symbols and units

Symbol or nameMeaningUnit / convention
G,V,Σ,P,S,S′G,V,\Sigma,P,S,S'Grammar, nonterminals, terminals, productions, start, augmented startSets/symbols; PP is not probability here
A,B,C,E,T,X,YA,B,C,E,T,X,YGrammar symbols when used in productionsContext defined per topic; BB is also a block or base address in those sections
α,β,γ,w\alpha,\beta,\gamma,wGrammar stringsSymbol sequences; ww denotes element width only in addressing
ϵ,∅,$\epsilon,\varnothing,\char36{}Empty string, empty set, end markerDistinct objects
⇒∗,∙\Rightarrow^*,\mathbin{\bullet}Zero or more derivation steps; item positionRelations/markers
FIRST, FOLLOW, SELECTGrammar lookahead setsSets of terminals, with stated epsilon/end-marker rules
I,I0,X,CLOSURE⁡,GOTO⁡I,I_0,X,\operatorname{CLOSURE},\operatorname{GOTO}Item set, initial set, transition symbol and item operationsFinite sets/maps
ℓj,Nred,cp,n,k,m,L\ell_j,N_{\mathrm{red}},c_p,n,k,m,LMatch length, reductions, rule uses and local sizesCounts; meanings stated where used
TI,R,R1,R2T_I,R,R_1,R_2Shift columns and reduction columnsSets in parsing; RR is register count only in Section 7.4
X.a,X.val,X.in,X.typeX.a,X.val,X.in,X.typeAttribute occurrence, value, inherited input, typeAttribute-defined; numeric examples dimensionless
r,d,v,fr,d,v,fRadix, digit, integer accumulator, fractional valueDimensionless; dd is dimension count in addressing
Fa,F,D,MstackF_a,F,D,M_{\mathrm{stack}}Frame size, common frame size, active-frame count, peak frame storagebyte, byte, count, byte
ℓc,ℓd,ℓf,Naccess,Ncall\ell_c,\ell_d,\ell_f,N_{\mathrm{access}},N_{\mathrm{call}}Lexical levels and link distancesCounts
B,w,nr,nc,Lr,Lc,i,jB,w,n_r,n_c,L_r,L_c,i,jBase, element width, dimensions, lower bounds and indicesByte address; bytes/element; counts/indices
d,Nk,ik,Lkd,N_k,i_k,L_kDimension count, length, index and lower boundCounts/indices
Nnames,Nin,Ndef,Ntemp,NopN_{\mathrm{names}},N_{\mathrm{in}},N_{\mathrm{def}},N_{\mathrm{temp}},N_{\mathrm{op}}SSA names, inputs, definitions, temporaries, operationsCounts
ϕ,E.T,E.F,m\phi,E.T,E.F,mSSA join selector; true/false exit lists; target labelEdge-selected value; lists of instruction indices; instruction index
VN, KKValue number and operation keyValue identifier / tuple
R,RL,RRR,R_L,R_RRegister demands of tree and childrenRegister counts
B,P,C,Pred⁡,Succ⁡B,P,C,\operatorname{Pred},\operatorname{Succ}Current, predecessor, successor blocks and adjacency setsGraph nodes/sets in data flow
IN, OUT, USE, DEF, GEN, KILL, UEU_EData-flow fact sets and candidate-expression universeFinite sets
fB,X,⊔,c,UNDEF,NACf_B,X,\sqcup,c,\mathrm{UNDEF},\mathrm{NAC}Transfer, input fact set, abstract join, constant and analysis statesMaps/sets or dimensionless abstract values

Revise offline: the whole Compiler Design handbook as one PDF

43 pages · 2.0 MBFree to read online. Sign in to download the PDF.We save the handbook, version and request time in My downloads. Privacy policy

All chapters · Corrections