C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
226 B

make
run="./ccmeta"
die()
{
diff $1 $2 | head -20
exit 1
}
for i in tests-parsimony/parsimony-lang/*.c; do
echo $i
j="${i%.c}.out"
k="tmp.out"
$run $i > $k
cmp $k $j || die $k $j
done
rm tmp.out