Name: Anonymous 2018-02-04 14:40
have you tried?
#lang
directive on top to act as a racket loader for standard scheme projects? it's a silly hack and I'd rather use flags but I guess it's better than nothing #!/bin/sh
TMP=$(mktemp)
printf %"s\n" "#lang racket" "(require compatibility/defmacro)" > $TMP
if [ -f "./order" ]
then
cat $TMP $(cat ./order | sed 's/\s.*$//') > out.sexpr
else
cat $TMP $(ls *.scm *.sexpr | sort) > out.sexpr
fi
racket -l errortrace -t out.sexpr
“I liken starting one's computing career with Unix, say as a undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act.” — Ken Pier, Xerox PARC
the problem is that Perl promotes ''''''''''''''''''''''clever'''''''''''''''''''''' tricks achieve terseness.But so does Python