Transforming Java with Stratego

Martin Bravenboer

Delft University of Technology

Table of Contents

1. Getting started with Java-Front
1.1. Basics
1.2. Example: Add Blocks
1.2.1. Getting Used to Stratego
1.2.2. The Real Job
1.2.3. Source to Source Program
1.2.4. Conclusion
1.3. Example: Java Generation with Concrete Syntax
1.3.1. Basic Concrete Syntax Skills
1.3.2. The Structure is Out There
1.3.3. Using Anti-Quotation
1.3.4. More Variability
1.3.5. Using Meta Variables
2. Getting started with Dryad
2.1. Linking with the Dryad Library
2.1.1. Compilation in Automake Package
2.1.2. Standalone Compilation at Command-line
2.1.3. Explanation
2.2. Dryad on Mac OS X
2.2.1. Installing Dryad using Nix
2.2.2. Dryad on Mac OS X 10.3