Name: Anonymous 2018-03-02 17:21
I'd like to anally deform brains of web developers with a new concatenative server-side framework. it will be called Backend Forth
#!/bin/sh
cmd=$1
while read line; do
reply=`echo "$line" | $cmd`
printf "%s\n" $reply
done
$ ./makecli.sh ./stack
10 7 *
70.000000
10 7 * 7 sqrt -
67.354249
3 4 dup * swap dup * add sqrt
5.000000