Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /pgraph/releases/release-110.66/pgraph.sml
ViewVC logotype

Annotation of /pgraph/releases/release-110.66/pgraph.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1011 - (view) (download)
Original Path: sml/trunk/src/cm/pgraph/pgraph.sml

1 : blume 975 (* pgraph.sml
2 :     *
3 :     * (C) 2001 Lucent Technologies, Bell Labs
4 :     *
5 :     * A list-of-edges representation of the dependency graph.
6 :     *
7 :     * author: Matthias Blume (blume@research.bell-labs.com)
8 :     *)
9 :     structure PortableGraph = struct
10 :    
11 :     type varname = string
12 :    
13 : blume 1011 datatype namespace = SGN | STR | FCT
14 : blume 975
15 :     datatype rhs =
16 :     SYM of namespace * string
17 :     | SYMS of varname list
18 :     | IMPORT of { lib: varname, syms: varname }
19 : blume 977 | COMPILE of { src: string * bool, env: varname, syms: varname }
20 : blume 975 | FILTER of { env: varname, syms: varname }
21 :     | MERGE of varname list
22 :    
23 :     datatype def = DEF of { lhs: varname, rhs: rhs }
24 :    
25 :     datatype graph =
26 :     GRAPH of { imports: varname list,
27 :     defs: def list,
28 :     export: varname }
29 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0