27
INSTALLING THE TRANSFORMATION SYSTEM Go to: http :// faculty.ist.unomaha.edu/winter/ShiftLab/TL_web/TL_index.html These slides will walk you through the following: 1. Download the TL_System a. This file needs to be unzipped and its contents placed in a location whose path contains no spaces. 2. Download the Bascinet B4 IDE a. This file needs to be unzipped and unzip and its contents placed at a location of your choice. 3. Download and install MLton 4. Configure the B4 IDE a. Point B4 to the TL_System folder b. Point B4 to the MLton folder 5. Build the parser and transformation components associated with a domain 6. Apply a selected transformation to a selected target program.

Installing the Transformation System

  • Upload
    angeni

  • View
    26

  • Download
    0

Embed Size (px)

DESCRIPTION

Installing the Transformation System. Go to: http :// faculty.ist.unomaha.edu/winter/ShiftLab/TL_web/TL_index.html These slides will walk you through the following: Download the TL_System This file needs to be unzipped and its contents placed in a location whose path contains no spaces. - PowerPoint PPT Presentation

Citation preview

Page 1: Installing the Transformation System

INSTALLING THE TRANSFORMATION SYSTEM• Go to: http://faculty.ist.unomaha.edu/winter/ShiftLab/TL_web/TL_index.html

• These slides will walk you through the following:

1. Download the TL_System

a. This file needs to be unzipped and its contents placed in a location whose path contains no spaces.

2. Download the Bascinet B4 IDE

a. This file needs to be unzipped and unzip and its contents placed at a location of your choice.

3. Download and install MLton

4. Configure the B4 IDE

a. Point B4 to the TL_System folder

b. Point B4 to the MLton folder

5. Build the parser and transformation components associated with a domain

6. Apply a selected transformation to a selected target program.

Page 2: Installing the Transformation System

DOWNLOADING FILES

Page 3: Installing the Transformation System

Left mouse click

Page 4: Installing the Transformation System

This file is placed in your “Downloads” folder.

Page 5: Installing the Transformation System

Left mouse click

Page 6: Installing the Transformation System

This file is placed in your “Downloads” folder.

Page 7: Installing the Transformation System

Left mouse click

Page 8: Installing the Transformation System

This file is placed in your “Downloads” folder.

Page 9: Installing the Transformation System

Left mouse click

Page 10: Installing the Transformation System

CONFIGURING THE BASCINET “B4” IDE

Page 11: Installing the Transformation System

1. Unzip the TL_System

a. The contents may be placed in any location whose path contains no spaces.

2. Unizp the Bascinet B4 IDE

a. The contents may be placed at a location of your choice.

3. Download and install MLton

4. Configure the B4 IDE

a. Point B4 to the TL_System folder

b. Point B4 to the MLton folder

Page 12: Installing the Transformation System

Left mouse double-click

Page 13: Installing the Transformation System

Select Options from the dropdown menu

Page 14: Installing the Transformation System
Page 15: Installing the Transformation System

Navigate to where MLton is installed on

your system

Page 16: Installing the Transformation System

Navigate to where you have placed the

TL_System folder

Note there are no spaces in this path.

Page 17: Installing the Transformation System
Page 18: Installing the Transformation System

BUILDING A DOMAIN

Page 19: Installing the Transformation System

1. A domain is a folder that may be placed in any location whose path contains no spaces.

Page 20: Installing the Transformation System

Select Open Project from the drop-down menu

Page 21: Installing the Transformation System

Left click on the project to select it.

Select lexer and bnf files from these drop-downs

Select style file from this drop-down

Page 22: Installing the Transformation System

Left click to build the parser and the

transformation engine.

If the build is successful, you will see this.

Page 23: Installing the Transformation System

Select the transform.mlton file from the drop-down.

Page 24: Installing the Transformation System

Select transformation file.

Page 25: Installing the Transformation System

Parse/compile the selected transformation

file.

If the parse goes well you will see this.

Page 26: Installing the Transformation System

Select target file to transform.

Page 27: Installing the Transformation System

Transform the program.

Output shows up in this pane