点击切换搜索课件文库搜索结果(801)
文档格式: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 文档大小:397KB 文档页数:108
Function of a Parser Takes the sequence of tokens produced by the scanner as its input and produces the syntax tree as its output. Parser Sequence of tokens Syntax-Tree
文档格式:PPT 文档大小:237KB 文档页数:72
The Function of a Scanner Reading characters from the source code and form them into logical units called tokens Tokens are logical entities defined as an enumerated type – Typedef enum {IF, THEN, ELSE, PLUS, MINUS, NUM, ID,…} TokenType;
文档格式:PPT 文档大小:514.5KB 文档页数:18
程序设计首先是一个过程,分为问题建模、 算法设计、编写代码和编译调试等阶段。即 使是一个比较简单的程序,我们也应该养成 先分析,再下手,最后调试的习惯,严格遵 循程序设计过程。 本章介绍软件的开发过程及过程的实施管理, 从程序质量保证的高度讨论了程序的调试与 测试,重点讲述了Java程序的调试方法、程 序中的异常处理以及单元测试方法
文档格式:PPT 文档大小:679.5KB 文档页数:64
3.1 选择结构 3.2 循环结构 3.3 编译预处理
首页上页2627282930313233下页末页
热门关键字
搜索一下,找到相关课件或文库资源 801 个  
©2008-现在 cucdc.com 高等教育资讯网 版权所有