let rec f s=let x=read_line()in s x;s x;f s;;f print_endline
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page