@@ -5,7 +5,7 @@ Nonterminals
55 op_expr matched_op_expr no_parens_op_expr
66 comp_op_eol at_op_eol unary_op_eol and_op_eol or_op_eol tail_op_eol
77 add_op_eol mult_op_eol exp_op_eol two_op_eol type_op_eol stab_op_eol
8- arrow_op_eol range_op_eol than_op_eol default_op_eol match_op_eol
8+ arrow_op_eol default_op_eol match_op_eol
99 when_op_eol in_op_eol inc_op_eol
1010 open_paren close_paren empty_paren
1111 open_bracket close_bracket
@@ -31,7 +31,7 @@ Terminals
3131 number signed_number atom atom_string bin_string list_string sigil
3232 dot_call_op op_identifier
3333 comp_op at_op unary_op and_op or_op arrow_op match_op
34- range_op in_op inc_op when_op than_op default_op tail_op
34+ in_op inc_op when_op default_op tail_op
3535 dual_op add_op mult_op exp_op two_op type_op stab_op
3636 'true' 'false' 'nil' 'do' eol ',' '.' '&'
3737 '(' ')' '[' ']' '{' '}' '<<' '>>'
@@ -57,11 +57,9 @@ Left 140 and_op_eol. %% &&, &&&, and
5757Left 150 comp_op_eol . % % <, >, <=, >=, ==, !=, =~, ===, !==
5858Right 160 arrow_op_eol . % % < (op), (op) > (e.g <-, |>, <<<, >>>)
5959Left 170 in_op_eol . % % in
60- Left 200 range_op_eol . % % ..
60+ Right 200 two_op_eol . % % ++, --, **, .., <>
6161Left 210 add_op_eol . % % + (op), - (op)
6262Left 220 mult_op_eol . % % * (op), / (op)
63- Right 230 than_op_eol . % % < (op) > (e.g <>)
64- Right 240 two_op_eol . % % ++, --, **
6563Left 250 exp_op_eol . % % ^ (op) (e.g ^^^)
6664Nonassoc 300 unary_op_eol . % % +, -, !, ^, not, &, ~~~
6765Left 310 dot_call_op .
@@ -141,11 +139,9 @@ op_expr -> two_op_eol expr : { '$1', '$2' }.
141139op_expr -> and_op_eol expr : { '$1' , '$2' }.
142140op_expr -> or_op_eol expr : { '$1' , '$2' }.
143141op_expr -> tail_op_eol expr : { '$1' , '$2' }.
144- op_expr -> than_op_eol expr : { '$1' , '$2' }.
145142op_expr -> in_op_eol expr : { '$1' , '$2' }.
146143op_expr -> inc_op_eol expr : { '$1' , '$2' }.
147144op_expr -> when_op_eol expr : { '$1' , '$2' }.
148- op_expr -> range_op_eol expr : { '$1' , '$2' }.
149145op_expr -> default_op_eol expr : { '$1' , '$2' }.
150146op_expr -> type_op_eol expr : { '$1' , '$2' }.
151147op_expr -> comp_op_eol expr : { '$1' , '$2' }.
@@ -159,10 +155,8 @@ no_parens_op_expr -> two_op_eol no_parens_expr : { '$1', '$2' }.
159155no_parens_op_expr -> and_op_eol no_parens_expr : { '$1' , '$2' }.
160156no_parens_op_expr -> or_op_eol no_parens_expr : { '$1' , '$2' }.
161157no_parens_op_expr -> tail_op_eol no_parens_expr : { '$1' , '$2' }.
162- no_parens_op_expr -> than_op_eol no_parens_expr : { '$1' , '$2' }.
163158no_parens_op_expr -> in_op_eol no_parens_expr : { '$1' , '$2' }.
164159no_parens_op_expr -> inc_op_eol no_parens_expr : { '$1' , '$2' }.
165- no_parens_op_expr -> range_op_eol no_parens_expr : { '$1' , '$2' }.
166160no_parens_op_expr -> default_op_eol no_parens_expr : { '$1' , '$2' }.
167161no_parens_op_expr -> type_op_eol no_parens_expr : { '$1' , '$2' }.
168162no_parens_op_expr -> comp_op_eol no_parens_expr : { '$1' , '$2' }.
@@ -180,11 +174,9 @@ matched_op_expr -> two_op_eol matched_expr : { '$1', '$2' }.
180174matched_op_expr -> and_op_eol matched_expr : { '$1' , '$2' }.
181175matched_op_expr -> or_op_eol matched_expr : { '$1' , '$2' }.
182176matched_op_expr -> tail_op_eol matched_expr : { '$1' , '$2' }.
183- matched_op_expr -> than_op_eol matched_expr : { '$1' , '$2' }.
184177matched_op_expr -> in_op_eol matched_expr : { '$1' , '$2' }.
185178matched_op_expr -> inc_op_eol matched_expr : { '$1' , '$2' }.
186179matched_op_expr -> when_op_eol matched_expr : { '$1' , '$2' }.
187- matched_op_expr -> range_op_eol matched_expr : { '$1' , '$2' }.
188180matched_op_expr -> default_op_eol matched_expr : { '$1' , '$2' }.
189181matched_op_expr -> type_op_eol matched_expr : { '$1' , '$2' }.
190182matched_op_expr -> comp_op_eol matched_expr : { '$1' , '$2' }.
@@ -338,9 +330,6 @@ or_op_eol -> or_op eol : '$1'.
338330tail_op_eol -> tail_op : '$1' .
339331tail_op_eol -> tail_op eol : '$1' .
340332
341- than_op_eol -> than_op : '$1' .
342- than_op_eol -> than_op eol : '$1' .
343-
344333in_op_eol -> in_op : '$1' .
345334in_op_eol -> in_op eol : '$1' .
346335
@@ -353,9 +342,6 @@ when_op_eol -> when_op eol : '$1'.
353342stab_op_eol -> stab_op : '$1' .
354343stab_op_eol -> stab_op eol : '$1' .
355344
356- range_op_eol -> range_op : '$1' .
357- range_op_eol -> range_op eol : '$1' .
358-
359345at_op_eol -> at_op : '$1' .
360346at_op_eol -> at_op eol : '$1' .
361347
0 commit comments