xref: /inferno-os/appl/cmd/mash/mashparse.m (revision 37da2899f40661e3e9631e497da8dc59b971cbd0)
1Mashparse: module {
2
3	PATH:	con "/dis/lib/mashparse.dis";
4
5	init:		fn(l: Mashlib);
6	parse:	fn(e: ref Mashlib->Env);
7
8	YYSTYPE: adt
9	{
10		cmd:		ref Mashlib->Cmd;
11		item:		ref Mashlib->Item;
12		items:	list of ref Mashlib->Item;
13		flag:		int;
14	};
15
16	YYETYPE:	type ref Mashlib->Env;
17Lcase: con	57346;
18Lfor: con	57347;
19Lif: con	57348;
20Lwhile: con	57349;
21Loffparen: con	57350;
22Lelse: con	57351;
23Lpipe: con	57352;
24Leqeq: con	57353;
25Lmatch: con	57354;
26Lnoteq: con	57355;
27Lcons: con	57356;
28Lcaret: con	57357;
29Lnot: con	57358;
30Lhd: con	57359;
31Ltl: con	57360;
32Llen: con	57361;
33Lword: con	57362;
34Lbackq: con	57363;
35Lcolon: con	57364;
36Lcolonmatch: con	57365;
37Ldefeq: con	57366;
38Leq: con	57367;
39Lmatched: con	57368;
40Lquote: con	57369;
41Loncurly: con	57370;
42Lonparen: con	57371;
43Loffcurly: con	57372;
44Lat: con	57373;
45Lgreat: con	57374;
46Lgreatgreat: con	57375;
47Lless: con	57376;
48Llessgreat: con	57377;
49Lfn: con	57378;
50Lin: con	57379;
51Lrescue: con	57380;
52Land: con	57381;
53Leof: con	57382;
54Lsemi: con	57383;
55Lerror: con	57384;
56};
57