Skip to content

Commit 3a67a8f

Browse files
committed
revise the reduced rule
1 parent e31e295 commit 3a67a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

my_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
| E F
88
| E + E | E - E | E * E | E / E | E % E
99
| E < E | E <= E | E > E | E >= E | E == E | E != E
10+
| -E | +E
1011
F | ID
1112
| NAT
12-
| -E | +E
1313
| IF (E) THEN E ELSE E
1414
| (E)
1515
| lambda ( ID . E )

0 commit comments

Comments
 (0)