正在加载图片...
Scheme should respond with a message akin to the following i The object 7 is not applicable i Type d to debug error, q to quit back to REP loop Type q for now. You will find that typing d invokes the debugger, which is a useful tool If you are interested in finding out more about the debugger now, look in the Don't Panic manual We've already seen how to use c-x C-e to evaluate the expression preceding the cursor There are also several other commands that allow you to evaluate expressions: M-z to evaluate the current definition, or M-o to evaluate the entire buffer(this does not work in the *scheme* buffer). You may mark a region and use M-x eval-region to evaluate the marked region. Each of these commands will cause the Scheme evaluator to evaluate the appropriate set of expressions. Note that you can type and evaluate expressions in either buffer, but the values will always appear in the *scheme* buffer. See the Don't Panic manual for more details 2. Your turn There are several things that you need to do for this part: evaluate some simple Scheme expressions, use the provided tools to manipulate these expressions, and answer some documentation and administrative questions. The answers for all these parts should be submitted electronically on the tutor, using the Submit Project Files button Remember that this is Project 0; when you have completed all the work and saved it in a file, you should upload that file and submit it for Project O Part 1: Preparing your project material for submission Create a new buffer(use the c-x b command, and give the prompt a new name ). At the top of the buffer, include your name, your TAs name, your section, the project number, and the part of the project you are answering (yes, we know this seems silly but it is amazing how many otherwise bright MIT students forget this! ) Use this buffer as ile(which you will need to save by using the c-x c-s command )into which you will insert your answers to the following parts Note that if you want to see your directories, you can use (pwd)inside a Scheme environment to list the name of the current directory to which you are connected,(cd foo")to go to directory foo", and (cd "foo")to go to foo"underneath the main directory Of course, since Edwin behaves like Emacs, you can also use M-x dired to list the entries in your directoryScheme should respond with a message akin to the following: ;The object 7 is not applicable. ;Type D to debug error, Q to quit back to REP loop: Type q for now. You will find that typing d invokes the debugger, which is a useful tool. If you are interested in finding out more about the debugger now, look in the Don't Panic manual! We've already seen how to use C-x C-e to evaluate the expression preceding the cursor. There are also several other commands that allow you to evaluate expressions: M-z to evaluate the current definition, or M-o to evaluate the entire buffer (this does not work in the *scheme* buffer). You may mark a region and use M-x eval-region to evaluate the marked region. Each of these commands will cause the Scheme evaluator to evaluate the appropriate set of expressions. Note that you can type and evaluate expressions in either buffer, but the values will always appear in the *scheme* buffer. See the Don't Panic manual for more details. 2. Your Turn There are several things that you need to do for this part: evaluate some simple Scheme expressions, use the provided tools to manipulate these expressions, and answer some documentation and administrative questions. The answers for all these parts should be submitted electronically on the tutor, using the Submit Project Files button. Remember that this is Project 0; when you have completed all the work and saved it in a file, you should upload that file and submit it for Project 0. Part 1: Preparing your project material for submission Create a new buffer (use the C-x b command, and give the prompt a new name). At the top of the buffer, include your name, your TA's name, your section, the project number, and the part of the project you are answering (yes, we know this seems silly, but it is amazing how many otherwise bright MIT students forget this!). Use this buffer as file (which you will need to save by using the C-x C-s command) into which you will insert your answers to the following parts. Note that if you want to see your directories, you can use (pwd) inside a Scheme environment to list the name of the current directory to which you are connected, (cd "foo") to go to directory "foo", and (cd "~foo") to go to "foo" underneath the main directory. Of course, since Edwin behaves like Emacs, you can also use M-x dired to list the entries in your directory
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有