| 1 |
\documentclass{article} |
| 2 |
\usepackage{lisp-on-tex} |
| 3 |
\lispinterp{% |
| 4 |
(\define \repl (\lambda () |
| 5 |
(\begin |
| 6 |
(\stdprint (\eval (\read))) |
| 7 |
(\repl)))) |
| 8 |
} |
| 9 |
\begin{document} |
| 10 |
\typeout{LISP on TeX interpretor mode} |
| 11 |
\lispinterp{(\repl)} |
| 12 |
\end{document} |