|
From SGA 2x14 "Grace under pressure", when they zoom on McKay's tablet connected to the
puddlejumper's crystals (around 11:46):
...
print -u5
exec 3<&p
read -ru3 line
print -r "$line"
read -ru3 line
print -r "$line"
float r a=1 b=1.5 c=-1...
(( r*sqrt(b*b-4*a*c) ))
print r1=$(( (-b+r)/2 ))
r2=$(( (-b-r)/2 ))
integer even=0 odd=0 ...
for ((count=0; count < 100; count++))
do if ((RANDOM%2=0))
then even=even+1
else odd=odd+1
fi
done
print even=$even odd=$odd
TIMEOUT=10
select i in list edit quit
do case $i in
list) cat "$foo";;
edit) ${EDITOR-vi} "$foo";;
quit) break;;
"") print ...
esac
...
Outch. That seems like an awful syntax, very bash-like and extremely
low-level. You'd expect something higher level for a scientific genius to use.
Especially since it never takes more than a handful of keystrokes to reprogram
entire subsystems.
Oh well, it's not like SG/SGA plots try to be logical very often.
Almost totally unrelated it would be fun to have a language where the reserved
keywords are
ortva raq vs gura ryfr sbe rnpu va pnfr fryrpg juvyr hagvy qb qbar.
Another option would be to force Latin declinations when using verbs for
method names in call statements :-)
Sorry about that. I had too much fun with
Intercal
when I was younger and it obviously had some consequences. |