blob: 718126e8419caabcf2c2571700780da24b29b8e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
case "$1" in
chicken-scheme-full)
# Send an S-expression to its standard input
if ! echo '(+ 2 3)' | csc -; then
echo 'csc cannot compile a S-expression from standard input'
exit 1
fi
;;
chicken-scheme-interpreter)
csi -version 2>&1 | grep -F "$2"
;;
esac
|