-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsta-9.html
59 lines (58 loc) · 2.31 KB
/
msta-9.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.66">
<TITLE>MSTA (syntax description translator): Appendix 3 - Run of MSTA on the previous description file</TITLE>
<LINK HREF="msta-8.html" REL=previous>
<LINK HREF="msta.html#toc9" REL=contents>
</HEAD>
<BODY>
Next
<A HREF="msta-8.html">Previous</A>
<A HREF="msta.html#toc9">Contents</A>
<HR>
<H2><A NAME="s9">9.</A> <A HREF="msta.html#toc9">Appendix 3 - Run of MSTA on the previous description file</A></H2>
<P>This output is produced on Compaq Aero 486 SX/25 with 12Mb under Linux 2.0.29.
<BLOCKQUOTE><CODE>
<PRE>
bash$ msta -time lex.y
parser time -- 0.02sec
semantic analyzer time -- 0.11sec
Look ahead is 1 token
Creating LR(0)-sets -- 0.05sec
Conflicts processing -- 0.10sec
create LALR-sets only with needed contexts -- 0.10sec
marking LR-sets with used attributes -- 0.01sec
splitting LR-sets for regular optimization -- 0.01sec
transforming LR-graph -- 0.04sec
removal unused nonterm. LR-arcs & marking unreachable LR-sets -- 0.00sec
marking semantically pushed LR-sets -- 0.00sec
making concordance between pushed LR-sets -- 0.00sec
making concordance between pushed LR-set attributes -- 0.00sec
evaluating popped LR-sets & attributes of regular arcs -- 0.02sec
stack displacement for used attributes evaluation -- 0.02sec
searching for regular arcs equivalence -- 0.03sec
all regular optimization -- 0.14sec
making parser look-ahead trie -- 0.02sec
making token equivalence classes -- 0.03sec
all generation of internal parser representation -- 0.30sec
Real look ahead is 1 token
5 shift/reduce conflicts.
translate vector creation & output -- 0.05sec
action table creation & output -- 0.02sec
nonterminal goto table creation & output -- 0.01sec
pushed states flag table creation & output -- 0.00sec
popped attributes number table creation & output -- 0.01sec
token name table creation & output -- 0.03sec
creation, compacting, output of tables -- 0.14sec
all parser output -- 0.25sec
overall time -- 0.75sec
</PRE>
</CODE></BLOCKQUOTE>
</P>
<HR>
Next
<A HREF="msta-8.html">Previous</A>
<A HREF="msta.html#toc9">Contents</A>
</BODY>
</HTML>