1 / 101

Stratego

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:

igor-mclean
Download Presentation

Stratego

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stratego Song Zhou *Include slides from http://www.stratego-language.org/Stratego/SlidesForSoftwareGeneration2001

  2. 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

  3. 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

  4. Transformation Rules

  5. Outline

  6. Transformation Strategies

  7. Traversal

More Related