Description

The tool pack-koala packs the Koala component and interface definitions and produces a parse tree for the complete Koala specification.

Example

/pub/Tools/PackKoala/pack-koala.gif

Suppose that we want to obtain the complete parse tree of a Koala composition specified in koala-bundle:

   component koala-bundle {
      contains
       component ASFIX-TOOLS asfix-tools;
       component ATerm aterm;
       component GPP gpp;
       component GRAPH-TOOLS graph-tools;
       component mySGLR sglr;
       component Stratego stratego;
       component KOALA koala;
    }

If all component, interface, and data type definitions are stored in ./koala-pb. Then the following command will yield the desired parse tree:

   pack-koala -I ./koala-pb -i koala-bundle

This parse tree can be further transformed with asfix-yield to obtain a textual representation of the composition:

   pack-koala -I ./koala-pb -i koala-bundle \
   | asfix-yield

or imploded into an abstract syntax tree with implode-asfix:

   pack-koala -I ./koala-pb -i koala-bundle \
   | implode-asfix

-- MerijnDeJonge - 17 Feb 2004

Revision: r1.3 - 22 Sep 2004 - 11:16 - MerijnDeJonge
Tools > KoalaTools > PackKoala
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback