Dr. Scheme (version 372) documentation TCS 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-i386-win32.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 For Pre-ILP AEC only. Page 1
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Dr. Scheme (version 372) documentation TCS
Getting Started with Dr. Scheme
1. Download links for Dr. Scheme Freewarea) 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-i386-win32.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
Step 1: Click on “Programming language” button at bottom left corner of the editor (encircled red in pic below).
Step 2 : Click on “Choose Program” alternative (shown encircled)
For Pre-ILP AEC only. Page 2
Dr. Scheme (version 372) documentation TCS
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.
For Pre-ILP AEC only. Page 3
Dr. Scheme (version 372) documentation TCS
5. Coding in the Scheme editor Code program definitions on the upper window known as “Definitions window”.
6. Executing a program Step 1 : Test/execute by calling the program with data inputs from the lower window known as “interaction window”
For Pre-ILP AEC only. Page 4
Dr. Scheme (version 372) documentation TCS
Step 2 : Press “enter” to get the result of execution
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”.
For Pre-ILP AEC only. Page 5
Dr. Scheme (version 372) documentation TCS
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.
Step 1 : Click on “Help” menu and then on “Help-desk” menu option
Step 2 : Type in your search string and press enter.
For Pre-ILP AEC only. Page 6
Dr. Scheme (version 372) documentation TCS
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.
For Pre-ILP AEC only. Page 7
Dr. Scheme (version 372) documentation TCS
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.
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:
For Pre-ILP AEC only. Page 8
Dr. Scheme (version 372) documentation TCS
For Pre-ILP AEC only. Page 9
Dr. Scheme (version 372) documentation TCS
For Pre-ILP AEC only. Page 10
Dr. Scheme (version 372) documentation TCS
For Pre-ILP AEC only. Page 11
Dr. Scheme (version 372) documentation TCS
For Pre-ILP AEC only. Page 12
Dr. Scheme (version 372) documentation TCS
For Pre-ILP AEC only. Page 13
Dr. Scheme (version 372) documentation TCS
For Pre-ILP AEC only. Page 14
Dr. Scheme (version 372) documentation TCS
Choose Textual language from PLT drop down and start programming with Dr. Scheme.