-- grammar extracted from MobTreeBuild.mesa by NPGS, May 25, 1990 11:07:59 am PDT
-- Copyright Ó 1991 by Xerox Corporation. All rights reserved.

||CHAIN ||LISTS

||TABLE1
1 id
2 str
3 ,
4 ;
5 :
6 ←
7 =
8 ~
9 ]
10 [
11 }
12 {
13 .
14 DIRECTORY
15 FROM
16 PACK
17 CONFIGURATION
18 CONFIG
19 IMPORTS
20 EXPORTS
21 CONTROL
22 BEGIN
23 REQUESTS
24 STATIC
25 DYNAMIC
26 END
27 PLUS
28 THEN
29 LINKS
30 CODE
31 FRAME
32 ALL
33 eof

||TABLE2
34 goal
35 source
36 directory
37 packing
38 init
39 config
40 includelist
41 includeitem
42 packlist
43 idlist
44 links
45 imports
46 exports
47 statics
48 dynamics
49 control
50 tilde
51 body
52 itemlist
53 statementlist
54 leftside
55 statement
56 module
57 interface
58 item
59 strlist
60 expinit
61 exportlist


||TABLE3
id tokenID
str tokenSTR
. initialSymbol


||TABLE4

1 0 goal ::= . source

2 1 source ::= directory packing init config .

3 2 directory ::= DIRECTORY includelist ;
4 27 |

5 3 includeitem ::= id : FROM str

6 4 packing ::= packlist ;
7 27 |

8 5 packlist ::= PACK idlist
9 6 | packlist ; PACK idlist

10 7 init ::=

11 8 config ::= id : CONFIG links imports exports statics dynamics control tilde body
12 8 | id : CONFIGURATION links imports exports statics dynamics control tilde body

13 9 links ::=
14 10 | LINKS : CODE
15 11 | LINKS : FRAME

16 12 imports ::= IMPORTS itemlist
17 27 |

18 12 body ::= BEGIN statementlist END
19 12 | { statementlist }

20 12 leftside ::= [ itemlist ]
21 26 | item

22 13 control ::= CONTROL idlist
23 27 |

24 14 statement ::= leftside ← module
25 15 | leftside ← interface
26 16 | item links
27 26 | module
28 26 | config

29 17 module ::= item [ ] links
30 18 | item [ idlist ] links

31 19 interface ::= id
32 20 | interface THEN id
33 21 | interface PLUS id

34 22 item ::= id
35 23 | id : id

36 24 idlist ::= id
37 25 | idlist , id

38 24 strlist ::= str
39 25 | strlist , str

40 26 tilde ::= ~
41 26 | =

42 26 statementlist ::= statementlist ;
43 28 | statement
44 29 | statementlist ; statement

45 27 statics ::=
46 37 | STATIC REQUESTS strlist

47 27 dynamics ::=
48 38 | DYNAMIC REQUESTS strlist

49 28 includelist ::= includeitem
50 29 | includelist , includeitem

51 28 itemlist ::= item
52 29 | itemlist , item

53 30 exports ::= EXPORTS expinit exportlist
54 31 |

55 32 expinit ::=

56 33 exportlist ::= item
57 34 | ALL
58 35 | exportlist , item
59 36 | exportlist , ALL