Stratego Compiler
Stratego -- Strategies for Program Transformation
The Stratego Compiler translates a Stratego specification to a C program.
The compiler is completely implemented in Stratego (except for the parser, which is implemented in
SDF). The distribution consists of the following packages
- SRTS? -- run-time system
- SSL? -- standard library
- StrategoFront -- syntax definition, parser, desugaring
- SC? -- Stratego sources of the compiler
Source distributions of recent releases under the GNU GPL license are available from the
StrategoDownload page.
The data-flow diagram below depicts the architecture of the compiler. Boxes depict data and ellipses depict executable compiler components. Solid arrows depict data-flow. Dashed arrows depict control-flow. The
components are driven by the main compiler component
sc
, which is not shown in the diagram.
CategoryCompiler