The essence of compilers
The compiler tools covered within this text are Lex and YACC, whose uses are shown both through examples concerned with compiler construction and examples concerned with other syntax-directed tools, such as simple measurement tools to evaluate source-code metrics.
9 pages matching P-code in this book
Results 1-3 of 9
What people are saying - Write a review
We haven't found any reviews in the usual places.
7 other sections not shown
ALGOL 68 algorithm bottom-up parsing bytecode chapter characters compile-time context-free grammar corresponding DECLIST defined digit director symbol set example expr then statement finite function garbage collection heap identifier if_statement implementation Input string instructions integer intermediate code Java known at compile left recursion left side leftmost derivation Lex and YACC lexical analyser lookahead lookahead symbols machine code node nonterminal notation object code optimisation output P-code parse table parser Pascal performed pointers programming languages recognised recursive descent reduce action registers regular expression regular grammar right recursion right side rightmost derivation run-time stack semantics sentence symbol sequence shift source code stack and stack stack frame stack Sentential form stack Symbol stack STATELIST static storage allocation string State stack Symbol stack Sentential symbol table syntax analysis syntax tree T+ T+ terminal three-address code token top-down parsing transformed type-0 grammar usually variables xxxyy YACC zero