点击切换搜索课件文库搜索结果(76049)
文档格式:PDF 文档大小:101.9KB 文档页数:12
Closed book- one sheet of notes hroug hout this quiz, we have set aside space in which you should write your answers. Please try to put all of answers in the designated spaces, as we will look only in this spaces when grading
文档格式:PDF 文档大小:108.18KB 文档页数:12
MASSACHVSETTS INSTITVTE OF TECHNOLOGY epartment of Electrical Engineering and Computer Se lence 001--Structure and Interpretation of Computer Programs Spring Semester, 2005 Quiz I- Sample Solutions
文档格式:PDF 文档大小:66.86KB 文档页数:6
Evaluation and universal machines The Eval/Apply Cycle What is the role of evaluation in defining a language? Eval and Apply execute a cycle that unwinds our abstractions Reduces to simple applications of built in
文档格式:PDF 文档大小:43.5KB 文档页数:6
The 6.001 Lazy Meta-Circular Evaluator The Core Evaluator (define (l-eval exp env) (cond ((self-evaluating? exp) exp) ((variable? exp)(lookup-variable-value exp env)) ((quoted? exp)(text-of-quotation exp)) ((assignment? exp)(eval-assignment exp env)) ((definition? exp)(eval-definition exp env)) ((if? exp)(eval-if exp env))
文档格式:PDF 文档大小:1.99MB 文档页数:20
Slide 17.1.1 Normal Order(Lazy) Evaluation Over the past few lectures, we have been looking at evaluation especially how to implement eval and apply in a anguage such as Scheme, in order to define a language. What we have seen is that by creating, or specifying, eval and its associated procedures, we actually define the semantics of the
文档格式:PDF 文档大小:2.6MB 文档页数:25
Slide 16.1.1 Building up a language Last time, we completed building our evaluator. And as you saw, we slightly misled you. We started off saying we were going to user Scheme's lexical analyzer and parser, but then build our own evaluator, which we did initially for arithmetic
文档格式:PDF 文档大小:1.35MB 文档页数:14
Slide 15.6.1 The next stage in the evolution of our evaluator is to pull the 5. Environment as explicit parameter environment out as an explicit parameter. Up until now we could rely on just having a single environment in which to store (eva1'(pus*64)) bindings for variables. It made sense to have a global
文档格式:PDF 文档大小:2MB 文档页数:18
Slide 14.4.1 Cleaning up some details of our implementation So we have seen a first pass at building an object-oriented tem, using Scheme as the base. There are a few details that The need for self-reference
文档格式:PDF 文档大小:2.33MB 文档页数:24
The role of abstractions In this lecture, we are going to look at a very different style of creating large systems, a style called object oriented programming. This style focuses on breaking systems up in a different manner than those we have seen before To set the stage for this, we are first going to return to the notion of
文档格式:PDF 文档大小:1.6MB 文档页数:16
Slide 12.1.1 In the last lecture, we introduced mutation as a component of 6001s|cP our data structures We saw for example that set was a Environment mode way of changing the value associated with a variable in our system, and we saw that set-car! and set-cdr! were ways of changing the values of parts of list structure Now, several important things happened when we introduced
首页上页953954955956957958959960下页末页
热门关键字
搜索一下,找到相关课件或文库资源 76049 个  
©2008-现在 cucdc.com 高等教育资讯网 版权所有