17 let yytransl_const = [|
26 let yytransl_block = [|
32 let yylhs = "\255\255\
33 \001\000\003\000\003\000\003\000\003\000\004\000\004\000\002\000\
34 \002\000\002\000\002\000\000\000"
36 let yylen = "\002\000\
37 \001\000\003\000\003\000\006\000\006\000\000\000\002\000\001\000\
38 \001\000\001\000\001\000\002\000"
40 let yydefred = "\000\000\
41 \000\000\000\000\011\000\009\000\010\000\006\000\006\000\012\000\
42 \001\000\008\000\000\000\000\000\002\000\000\000\003\000\000\000\
43 \000\000\000\000\000\000\000\000\004\000\005\000"
45 let yydgoto = "\002\000\
46 \008\000\009\000\010\000\011\000"
48 let yysindex = "\001\000\
49 \033\255\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
50 \000\000\000\000\021\255\007\255\000\000\251\254\000\000\252\254\
51 \033\255\033\255\000\255\005\255\000\000\000\000"
53 let yyrindex = "\000\000\
54 \000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
55 \000\000\000\000\000\000\000\000\000\000\027\255\000\000\014\255\
56 \000\000\000\000\000\000\000\000\000\000\000\000"
58 let yygindex = "\000\000\
59 \000\000\245\255\000\000\012\000"
62 let yytable = "\014\000\
63 \016\000\001\000\017\000\018\000\021\000\019\000\020\000\003\000\
64 \004\000\005\000\006\000\022\000\007\000\015\000\007\000\007\000\
65 \007\000\007\000\012\000\007\000\007\000\003\000\004\000\005\000\
66 \006\000\013\000\007\000\007\000\007\000\007\000\007\000\007\000\
67 \007\000\003\000\004\000\005\000\006\000\000\000\007\000"
69 let yycheck = "\011\000\
70 \012\000\001\000\008\001\008\001\005\001\017\000\018\000\001\001\
71 \002\001\003\001\004\001\007\001\006\001\007\001\001\001\002\001\
72 \003\001\004\001\007\000\006\001\007\001\001\001\002\001\003\001\
73 \004\001\005\001\006\001\001\001\002\001\003\001\004\001\005\001\
74 \006\001\001\001\002\001\003\001\004\001\255\255\006\001"
76 let yynames_const = "\
85 let yynames_block = "\
92 (fun _
-> failwith
"parser")
93 ; (fun __caml_parser_env
->
94 let _1 = (Parsing.peek_val __caml_parser_env
0 : 'expr
) in
99 : Types.scheme_object
))
100 ; (fun __caml_parser_env
->
101 let _2 = (Parsing.peek_val __caml_parser_env
1 : 'exprlist
) in
104 ( ProperList
(List.rev
_2) )
107 ; (fun __caml_parser_env
->
108 let _2 = (Parsing.peek_val __caml_parser_env
1 : 'exprlist
) in
111 ( ProperList
(List.rev
_2) )
114 ; (fun __caml_parser_env
->
115 let _2 = (Parsing.peek_val __caml_parser_env
4 : 'exprlist
) in
116 let _3 = (Parsing.peek_val __caml_parser_env
3 : 'expr
) in
117 let _5 = (Parsing.peek_val __caml_parser_env
1 : 'expr
) in
120 ( ImproperList
((List.rev
(_3::_2)), _5) )
123 ; (fun __caml_parser_env
->
124 let _2 = (Parsing.peek_val __caml_parser_env
4 : 'exprlist
) in
125 let _3 = (Parsing.peek_val __caml_parser_env
3 : 'expr
) in
126 let _5 = (Parsing.peek_val __caml_parser_env
1 : 'expr
) in
129 ( ImproperList
((List.rev
(_3::_2)), _5) )
132 ; (fun __caml_parser_env
->
138 ; (fun __caml_parser_env
->
139 let _1 = (Parsing.peek_val __caml_parser_env
1 : 'exprlist
) in
140 let _2 = (Parsing.peek_val __caml_parser_env
0 : 'expr
) in
146 ; (fun __caml_parser_env
->
147 let _1 = (Parsing.peek_val __caml_parser_env
0 : 'list
) in
153 ; (fun __caml_parser_env
->
154 let _1 = (Parsing.peek_val __caml_parser_env
0 : string) in
160 ; (fun __caml_parser_env
->
161 let _1 = (Parsing.peek_val __caml_parser_env
0 : string) in
167 ; (fun __caml_parser_env
->
168 let _1 = (Parsing.peek_val __caml_parser_env
0 : int) in
175 ; (fun __caml_parser_env
-> raise
(Parsing.YYexit
(Parsing.peek_val __caml_parser_env
0)))
178 { Parsing.actions
=yyact;
179 Parsing.transl_const
=yytransl_const;
180 Parsing.transl_block
=yytransl_block;
183 Parsing.defred
=yydefred;
184 Parsing.dgoto
=yydgoto;
185 Parsing.sindex
=yysindex;
186 Parsing.rindex
=yyrindex;
187 Parsing.gindex
=yygindex;
188 Parsing.tablesize
=yytablesize;
189 Parsing.table
=yytable;
190 Parsing.check
=yycheck;
191 Parsing.error_function
=parse_error
;
192 Parsing.names_const
=yynames_const;
193 Parsing.names_block
=yynames_block }
194 let main (lexfun
: Lexing.lexbuf
-> token
) (lexbuf
: Lexing.lexbuf
) =
195 (Parsing.yyparse
yytables 1 lexfun lexbuf
: Types.scheme_object
)