Intermediate commit

This commit is contained in:
Dmitry Boulytchev 2018-02-25 15:44:28 +03:00
parent 9e3803ce7b
commit 74341d0f5f
33011 changed files with 92084 additions and 40 deletions

View file

@ -0,0 +1,13 @@
TESTS=$(basename $(wildcard generated*.expr))
.PHONY: check $(TESTS)
check: $(TESTS)
$(TESTS): %: %.expr
RC_RUNTIME=../../runtime ../../rc.native $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
cat $@.input | RC_RUNTIME=../../runtime ../../rc.native -i $< > $@.log && diff $@.log orig/$@.log
cat $@.input | RC_RUNTIME=../../runtime ../../rc.native -s $< > $@.log && diff $@.log orig/$@.log
clean:
rm -f *.log *.s *~ $(TESTS)

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 12;
write (y)

View file

@ -0,0 +1,2 @@
88
67

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0;
write (y)

View file

@ -0,0 +1,2 @@
44
69

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1;
write (y)

View file

@ -0,0 +1,2 @@
90
75

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+18;
write (y)

View file

@ -0,0 +1,2 @@
44
69

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+x0;
write (y)

View file

@ -0,0 +1,2 @@
61
16

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17-18;
write (y)

View file

@ -0,0 +1,2 @@
69
85

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0+23;
write (y)

View file

@ -0,0 +1,2 @@
95
29

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+x1;
write (y)

View file

@ -0,0 +1,2 @@
74
55

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17-x0;
write (y)

View file

@ -0,0 +1,2 @@
62
80

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0+x0;
write (y)

View file

@ -0,0 +1,2 @@
13
8

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17*18;
write (y)

View file

@ -0,0 +1,2 @@
77
72

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0-23;
write (y)

View file

@ -0,0 +1,2 @@
18
83

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17-x1;
write (y)

View file

@ -0,0 +1,2 @@
13
92

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17*x0;
write (y)

View file

@ -0,0 +1,2 @@
16
18

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0+x1;
write (y)

View file

@ -0,0 +1,2 @@
69
70

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1+25;
write (y)

View file

@ -0,0 +1,2 @@
26
25

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0-x0;
write (y)

View file

@ -0,0 +1,2 @@
10
83

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22+23+24;
write (y)

View file

@ -0,0 +1,2 @@
21
83

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17/18;
write (y)

View file

@ -0,0 +1,2 @@
89
26

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1+x0;
write (y)

View file

@ -0,0 +1,2 @@
79
92

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22+23+x0;
write (y)

View file

@ -0,0 +1,2 @@
30
26

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0*23;
write (y)

View file

@ -0,0 +1,2 @@
69
84

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+23+24;
write (y)

View file

@ -0,0 +1,2 @@
9
89

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17*x1;
write (y)

View file

@ -0,0 +1,2 @@
0
42

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22+23+x1;
write (y)

View file

@ -0,0 +1,2 @@
21
71

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17/x0;
write (y)

View file

@ -0,0 +1,2 @@
13
2

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0-x1;
write (y)

View file

@ -0,0 +1,2 @@
69
81

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1-25;
write (y)

View file

@ -0,0 +1,2 @@
59
31

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1+x1;
write (y)

View file

@ -0,0 +1,2 @@
93
9

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+23+x0;
write (y)

View file

@ -0,0 +1,2 @@
0
56

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0*x0;
write (y)

View file

@ -0,0 +1,2 @@
68
47

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22+23-24;
write (y)

View file

@ -0,0 +1,2 @@
87
62

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17%18;
write (y)

View file

@ -0,0 +1,2 @@
68
92

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1-x0;
write (y)

View file

@ -0,0 +1,2 @@
49
44

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22+23-x0;
write (y)

View file

@ -0,0 +1,2 @@
24
67

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+23-24;
write (y)

View file

@ -0,0 +1,2 @@
32
50

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22-23+24;
write (y)

View file

@ -0,0 +1,2 @@
90
98

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0/23;
write (y)

View file

@ -0,0 +1,2 @@
55
90

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17-23+24;
write (y)

View file

@ -0,0 +1,2 @@
29
94

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22-23+x0;
write (y)

View file

@ -0,0 +1,2 @@
62
5

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0+28+29;
write (y)

View file

@ -0,0 +1,2 @@
10
95

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17/x1;
write (y)

View file

@ -0,0 +1,2 @@
50
21

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22+23-x1;
write (y)

View file

@ -0,0 +1,2 @@
61
31

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17%x0;
write (y)

View file

@ -0,0 +1,2 @@
51
41

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+x0+29;
write (y)

View file

@ -0,0 +1,2 @@
36
95

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x0*x1;
write (y)

View file

@ -0,0 +1,2 @@
36
10

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+23+x1;
write (y)

View file

@ -0,0 +1,2 @@
58
59

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 17+23-x0;
write (y)

View file

@ -0,0 +1,2 @@
94
53

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := 22-23+x1;
write (y)

View file

@ -0,0 +1,2 @@
27
94

View file

@ -0,0 +1,5 @@
skip;
x0 := read ();
x1 := read ();
y := x1*25;
write (y)

Some files were not shown because too many files have changed in this diff Show more