Installing the Transformation System

Preview:

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

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.

DOWNLOADING FILES

Left mouse click

This file is placed in your “Downloads” folder.

Left mouse click

This file is placed in your “Downloads” folder.

Left mouse click

This file is placed in your “Downloads” folder.

Left mouse click

CONFIGURING THE BASCINET “B4” IDE

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

Left mouse double-click

Select Options from the dropdown menu

Navigate to where MLton is installed on

your system

Navigate to where you have placed the

TL_System folder

Note there are no spaces in this path.

BUILDING A DOMAIN

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

Select Open Project from the drop-down menu

Left click on the project to select it.

Select lexer and bnf files from these drop-downs

Select style file from this drop-down

Left click to build the parser and the

transformation engine.

If the build is successful, you will see this.

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

Select transformation file.

Parse/compile the selected transformation

file.

If the parse goes well you will see this.

Select target file to transform.

Transform the program.

Output shows up in this pane