emacs -Q -batch -eval '(print (eval (read standard-input)))' で標準入力からS式を読めるお話。