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 Go to:

Embed Size (px)

Citation preview

Page 1: INSTALLING THE TRANSFORMATION SYSTEM Go to:

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 Go to:

DOWNLOADING FILES

Page 3: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Left mouse click

Page 4: INSTALLING THE TRANSFORMATION SYSTEM Go to:

This file is placed in your “Downloads” folder.

Page 5: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Left mouse click

Page 6: INSTALLING THE TRANSFORMATION SYSTEM Go to:

This file is placed in your “Downloads” folder.

Page 7: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Left mouse click

Page 8: INSTALLING THE TRANSFORMATION SYSTEM Go to:

This file is placed in your “Downloads” folder.

Page 9: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Left mouse click

Page 10: INSTALLING THE TRANSFORMATION SYSTEM Go to:

CONFIGURING THE BASCINET “B4” IDE

Page 11: INSTALLING THE TRANSFORMATION SYSTEM Go to:

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 Go to:

Left mouse double-click

Page 13: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Select Options from the dropdown menu

Page 14: INSTALLING THE TRANSFORMATION SYSTEM Go to:
Page 15: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Navigate to where MLton is installed on

your system

Page 16: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Navigate to where you have placed the

TL_System folder

Note there are no spaces in this path.

Page 17: INSTALLING THE TRANSFORMATION SYSTEM Go to:
Page 18: INSTALLING THE TRANSFORMATION SYSTEM Go to:

BUILDING A DOMAIN

Page 19: INSTALLING THE TRANSFORMATION SYSTEM Go to:

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

Page 20: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Select Open Project from the drop-down menu

Page 21: INSTALLING THE TRANSFORMATION SYSTEM Go to:

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 Go to:

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 Go to:

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

Page 24: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Select transformation file.

Page 25: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Parse/compile the selected transformation

file.

If the parse goes well you will see this.

Page 26: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Select target file to transform.

Page 27: INSTALLING THE TRANSFORMATION SYSTEM Go to:

Transform the program.

Output shows up in this pane