1.01k likes | 1.15k Views
Stratego. Song Zhou *Include slides from http://www.stratego-language.org/Stratego/SlidesForSoftwareGeneration2001. Introduction. Stratego is “ a language for the specification of transformation systems based on the paradigm of program rewriting strategies ” . Basic components:
E N D
Stratego Song Zhou *Include slides from http://www.stratego-language.org/Stratego/SlidesForSoftwareGeneration2001
Introduction • Stratego is “a language for the specification of transformation systems based on the paradigm of program rewriting strategies”. • Basic components: • Rules: basic transformation steps • Strategies: control application of rules
Stratego/XT • Stratego is only a term-rewriting language. “Term in, Term out.” XT can combine Stratego with other tools to create a transformation system. • Front End: • SGLR: a generic parser creating syntax tree • Back End: • GPP: a generic pretty-printer to emit the syntax tree out • Communication Language • Aterm: a term exchange format