which serve as examples of the C-INTERCAL to C interface as well as
potentially being useful.
-Programs marked with + have associated .chk files and are part of the
-regression-test suite.
+Programs marked with + have associated .chk files (and, if they take
+input, corresponding .tst files) and are part of the regression-test
+suite.
Contents:
from original manual:
sample.i Returns absolute value of a 16-bit 2s-complement number
- lib/syslib.i Standard library, with bugs fixed
lib/syslib-orig.i Standard library (original buggy version)
by Jon Blow <jon@sampo.com>
tests/arrtest.doc The history behind those changes
tests/permute.i + A permutation-printing program to test backtracking
tests/permute.doc Information about the permutation-printer
- tests/whileadd.i Adds two input numbers with a single WHILE statement
+ tests/whileadd.i + Adds two input numbers with a single WHILE statement
tests/ignorret.i Testing interactions of IGNORE and RETRIEVE
tests/ignorret.doc What ignorret does on several compilers
tests/normaldist.i Checking the standard deviation of (1910)
./tests/testlib2.i \
./tests/testonce \
./tests/testsplat.i \
+ ./tests/whileadd.i \
./tpk.i \
./unlambda.i \
./yapp.i
@./tests/test1 2>&1 | ./regresscheck tests/test1
@cat tests/test2.tst | ./tests/test2 | ./regresscheck tests/test2
@./tests/testonce | ./regresscheck tests/testonce
+ @cat tests/whileadd.tst | ./tests/whileadd | ./regresscheck tests/whileadd
@echo "Tests complete."
# Needs special handling because the -m option is required
-tests/permute: tests/permute.i
- $(ICK) -m tests/permute.i
fft: fft.i
$(ICK) -m fft.i
+tests/permute: tests/permute.i
+ $(ICK) -m tests/permute.i
+tests/whileadd: tests/whileadd.i
+ $(ICK) -m tests/whileadd.i
lines:
wc -l $(SOURCES)