Sie sind auf Seite 1von 17

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-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

For Pre-ILP AEC only.

Page 1

Dr. Scheme (version 372) documentation TCS

4. Editor settings

Step 1: Click on Programming language button at bottom left corner of the editor (encircled red in pic below).

For Pre-ILP AEC only.

Page 2

Dr. Scheme (version 372) documentation TCS

Step 2 : Click on Choose Program alternative (shown encircled)

For Pre-ILP AEC only.

Page 3

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 4

Dr. Scheme (version 372) documentation TCS

5. Coding in the Scheme editor Code program definitions on the upper window known as Definitions window.

For Pre-ILP AEC only.

Page 5

Dr. Scheme (version 372) documentation TCS

6. Executing a program Step 1 : Test/execute by calling the program with data inputs from the lower window known as interaction window

Step 2 : Press enter to get the result of execution

For Pre-ILP AEC only.

Page 6

Dr. Scheme (version 372) documentation TCS

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 7

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 8

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 9

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.

For Pre-ILP AEC only.

Page 10

Dr. Scheme (version 372) documentation TCS

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 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

For Pre-ILP AEC only.

Page 15

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only.

Page 16

Dr. Scheme (version 372) documentation TCS

Choose Textual language from PLT drop down and start programming with Dr. Scheme.

For Pre-ILP AEC only.

Page 17

Das könnte Ihnen auch gefallen