Beruflich Dokumente
Kultur Dokumente
Getting Started with Dr. Scheme 1. Download links for Dr. Scheme Freeware a) http://www.plt-scheme.org/ b) http://download.plt-scheme.org/drscheme/plt-372-bin-i386-win32-exe.html Click on the link Main download (USA, Massachusetts, Northeastern University)
2. Install DrScheme on your system by clicking run the exe file named plt-372-bin-i386win32.exe
The PLT Scheme application will be available in the Start Menu of your system.
3. To open the DrScheme editor, click on start> Programs > PLT Scheme > Dr. Scheme
Page 1
4. Editor settings
Step 1: Click on Programming language button at bottom left corner of the editor (encircled red in pic below).
Page 2
Page 3
Step 3 : On the Choose Language pop-up , click on PLT and then on Textual (MzScheme, includes R5RS) option and click ok button.
Step 4 : The editor language gets set to Textual (MzScheme, includes R5RS) mode. (Use this language only & none other). The editor is now ready for use.
Page 4
5. Coding in the Scheme editor Code program definitions on the upper window known as Definitions window.
Page 5
6. Executing a program Step 1 : Test/execute by calling the program with data inputs from the lower window known as interaction window
Page 6
Alt Step : Alternatively, place the code for program call in the definitions window below the program code and click on Run button to get the results displayed in the interactions window.
Page 7
7. Help files The IDE , provides an integrated feature for help on syntaxes and libraries through hyper-linked system named Help-desk. The Help-desk can be accessed from the Help menu and can be used for keyword searches.
Page 8
Step 3 : The search results are displayed as hyper-link from which one of the links can be chosen (double-click) to see the detailed instructions.
Page 9
8. Save file. After coding the programs save the file with a meaningful name. One file may contain multiple programs separated by suitable comments. Comments start with a semi-colon ; in Dr. Scheme programming language. Code and comments are highlighted with different colors in the editor.
Page 10
In Case you downloaded the exe file named plt-372-bin-i386-win32.exe in pen drive, first save it in your desktop and follow the instructions given below for installing Dr. Scheme:
Page 11
Page 12
Page 13
Page 14
Page 15
Page 16
Choose Textual language from PLT drop down and start programming with Dr. Scheme.
Page 17