BEGIN {
print "#!/usr/bin/expect -f"
print "spawn fennel main.fnl"
}
{ print "expect -re \"Player .'s turn:\""
print "send -- \"" $0 "\\r\""
END {
print "interact"