Actually just three programming languages in a trenchcoat
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add testsuite (failing)

+19 -7
+14
testsuite/rule-duplicate/main.tri
··· 1 + rule single(1) 2 + rule single(2) 3 + rule single(3) 4 + 5 + rule double(a, a) <- single(a) 6 + 7 + proc main!() { 8 + let mut n = 0 9 + for double(a, b) { 10 + assert a == b 11 + n += a 12 + } 13 + assert n == 6 14 + }
+5 -7
testsuite/rule-with-body-simple/main.tri
··· 1 - rule single(1) 2 - rule single(2) 3 - rule single(3) 1 + rule first(1) 4 2 5 - rule double(a, a) <- single(a) 3 + rule second(a) <- first(a) 6 4 7 5 proc main!() { 8 6 let mut n = 0 9 - for double(a, b) { 10 - assert a == b 7 + for second(a) { 8 + assert a == 1 11 9 n += a 12 10 } 13 - assert n == 6 11 + assert n == 1 14 12 }