PreviousUpNext

15.4.101  src/app/makelib/portable-graph/portable-graph.pkg

## portable-graph.pkg
## (C) 2001 Lucent Technologies, Bell Labs
## author: Matthias Blume (blume@research.bell-labs.com)

# Compiled by:
#     src/app/makelib/portable-graph/portable-graph.lib



# A list-of-edges representation of the dependency graph.



package   portable_graph   {
    #     ==============
    #
    Varname = String;

    Namespace = SGN | PACKAGE | GENERIC;

    Rhs = SYM     (Namespace, String)
        | SYMS    List( Varname )
        | IMPORT  { lib: Varname, syms: Varname }
        | COMPILE { src: (String, Bool), env: Varname, syms: Varname }
        | FILTER  { env: Varname, syms: Varname }
        | MERGE   List( Varname );

    Def = DEF { lhs: Varname,
                rhs: Rhs
              };

    Graph = GRAPH { imports: List( Varname ),
                    defs:    List( Def ),
                    export:  Varname
                  };
};


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext