16
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

DrScheme - Getting Started Version 372

Embed Size (px)

DESCRIPTION

Dr. Scheme

Citation preview

Page 1: DrScheme - Getting Started Version 372

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

4. Editor settings

For Pre-ILP AEC only. Page 1

Page 2: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

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

Page 3: DrScheme - Getting Started Version 372

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

Page 4: DrScheme - Getting Started Version 372

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

Page 5: DrScheme - Getting Started Version 372

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

Page 6: DrScheme - Getting Started Version 372

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

Page 7: DrScheme - Getting Started Version 372

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

Page 8: DrScheme - Getting Started Version 372

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

Page 9: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only. Page 9

Page 10: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only. Page 10

Page 11: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only. Page 11

Page 12: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only. Page 12

Page 13: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only. Page 13

Page 14: DrScheme - Getting Started Version 372

Dr. Scheme (version 372) documentation TCS

For Pre-ILP AEC only. Page 14

Page 15: DrScheme - Getting Started Version 372

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 15