点击切换搜索课件文库搜索结果(411)
文档格式:PPT 文档大小:134.5KB 文档页数:42
Generate executable code for a target machine that is a faithful representation of the semantics of the source code Depends not only on the characteristics of the source language but also on detailed information about the target architecture, the structure of the runtime environment, and the operating system running on the target machine
文档格式:PPT 文档大小:534.5KB 文档页数:97
Assuming two bytes for integers, four bytes for addresses, one byte for character and eight bytes for double-precision floating point, we would have the following offset values:
文档格式:PPT 文档大小:552KB 文档页数:98
SLR(1), called simple LR(1) parsing, uses the DFA of sets of LR(0) items as constructed in the previous section SLR(1) increases the power of LR(0) parsing significant by using the next token in the input string – First, it consults the input token before a shift to make sure that an appropriate DFA transition exists
文档格式:PPT 文档大小:569KB 文档页数:104
Main idea LL(1) Parsing uses an explicit stack rather than recursive calls to perform a parse An example: – a simple grammar for the strings of balanced parentheses: S→(S) S∣ε The following table shows the actions of a top￾down parser given this grammar and the string ( )
文档格式:PPT 文档大小:421KB 文档页数:72
The memory of a typical computer: A register area; Addressable Random access memory (RAM): A code area; A data area. The code area is fixed prior to execution, and can be visualized as follows:
文档格式:PPT 文档大小:663.5KB 文档页数:87
Attributes – Any property of a programming language construct such as The data type of a variable The value of an expression The location of a variable in memory
文档格式:PPT 文档大小:264.5KB 文档页数:75
Symbol table: major inherited attribute and major data structure in a compiler Principal operations: – Insert: store the information provided by name declarations when processing these declarations – Lookup: retrieve the information associated to a name when that name is used in the associated code
文档格式:PPT 文档大小:197KB 文档页数:49
A stack-based environment will result in a dangling reference when the procedure is exited if a local variable in a procedure can be returned to the caller The simplest example:
文档格式:PPT 文档大小:318.5KB 文档页数:68
Why Compiler Writing machine language-numeric codes is time consuming and tedious
文档格式:PPT 文档大小:227.5KB 文档页数:49
The idea of Recursive-Descent Parsing Viewing the grammar rule for a non-terminal A as a definition for a procedure to recognize an A The right-hand side of the grammar for A specifies the structure of the code for this procedure The Expression Grammar:
首页上页2627282930313233下页末页
热门关键字
搜索一下,找到相关课件或文库资源 411 个  
©2008-现在 cucdc.com 高等教育资讯网 版权所有